Class SDL_GPURenderStateCreateInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_GPURenderStateCreateInfo extends Struct<SDL_GPURenderStateCreateInfo> implements NativeResource
struct SDL_GPURenderStateCreateInfo {
    SDL_GPUShader * fragment_shader;
    Sint32 num_sampler_bindings;
    SDL_GPUTextureSamplerBinding const * sampler_bindings;
    Sint32 num_storage_textures;
    SDL_GPUTexture const ** storage_textures;
    Sint32 num_storage_buffers;
    SDL_GPUBuffer const ** storage_buffers;
    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.
    • FRAGMENT_SHADER

      public static final int FRAGMENT_SHADER
      The struct member offsets.
    • NUM_SAMPLER_BINDINGS

      public static final int NUM_SAMPLER_BINDINGS
      The struct member offsets.
    • SAMPLER_BINDINGS

      public static final int SAMPLER_BINDINGS
      The struct member offsets.
    • NUM_STORAGE_TEXTURES

      public static final int NUM_STORAGE_TEXTURES
      The struct member offsets.
    • STORAGE_TEXTURES

      public static final int STORAGE_TEXTURES
      The struct member offsets.
    • NUM_STORAGE_BUFFERS

      public static final int NUM_STORAGE_BUFFERS
      The struct member offsets.
    • STORAGE_BUFFERS

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

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

    • SDL_GPURenderStateCreateInfo

      public SDL_GPURenderStateCreateInfo(ByteBuffer container)
      Creates a SDL_GPURenderStateCreateInfo 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