Class SDL_GPUComputePipelineCreateInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_GPUComputePipelineCreateInfo extends Struct<SDL_GPUComputePipelineCreateInfo> implements NativeResource
struct SDL_GPUComputePipelineCreateInfo {
    size_t code_size;
    Uint8 const * code;
    char const * entrypoint;
    SDL_GPUShaderFormat format;
    Uint32 num_samplers;
    Uint32 num_readonly_storage_textures;
    Uint32 num_readonly_storage_buffers;
    Uint32 num_readwrite_storage_textures;
    Uint32 num_readwrite_storage_buffers;
    Uint32 num_uniform_buffers;
    Uint32 threadcount_x;
    Uint32 threadcount_y;
    Uint32 threadcount_z;
    SDL_PropertiesID props;
}
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • CODE_SIZE

      public static final int CODE_SIZE
      The struct member offsets.
    • CODE

      public static final int CODE
      The struct member offsets.
    • ENTRYPOINT

      public static final int ENTRYPOINT
      The struct member offsets.
    • FORMAT

      public static final int FORMAT
      The struct member offsets.
    • NUM_SAMPLERS

      public static final int NUM_SAMPLERS
      The struct member offsets.
    • NUM_READONLY_STORAGE_TEXTURES

      public static final int NUM_READONLY_STORAGE_TEXTURES
      The struct member offsets.
    • NUM_READONLY_STORAGE_BUFFERS

      public static final int NUM_READONLY_STORAGE_BUFFERS
      The struct member offsets.
    • NUM_READWRITE_STORAGE_TEXTURES

      public static final int NUM_READWRITE_STORAGE_TEXTURES
      The struct member offsets.
    • NUM_READWRITE_STORAGE_BUFFERS

      public static final int NUM_READWRITE_STORAGE_BUFFERS
      The struct member offsets.
    • NUM_UNIFORM_BUFFERS

      public static final int NUM_UNIFORM_BUFFERS
      The struct member offsets.
    • THREADCOUNT_X

      public static final int THREADCOUNT_X
      The struct member offsets.
    • THREADCOUNT_Y

      public static final int THREADCOUNT_Y
      The struct member offsets.
    • THREADCOUNT_Z

      public static final int THREADCOUNT_Z
      The struct member offsets.
    • PROPS

      public static final int PROPS
      The struct member offsets.
  • Constructor Details

    • SDL_GPUComputePipelineCreateInfo

      public SDL_GPUComputePipelineCreateInfo(ByteBuffer container)
      Creates a SDL_GPUComputePipelineCreateInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details