Class SDL_GPUDepthStencilTargetInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_GPUDepthStencilTargetInfo extends Struct<SDL_GPUDepthStencilTargetInfo> implements NativeResource
struct SDL_GPUDepthStencilTargetInfo {
    SDL_GPUTexture * texture;
    float clear_depth;
    SDL_GPULoadOp load_op;
    SDL_GPUStoreOp store_op;
    SDL_GPULoadOp stencil_load_op;
    SDL_GPUStoreOp stencil_store_op;
    bool cycle;
    Uint8 clear_stencil;
    Uint8 mip_level;
    Uint8 layer;
}
  • Field Details

    • SIZEOF

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

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

      public static final int TEXTURE
      The struct member offsets.
    • CLEAR_DEPTH

      public static final int CLEAR_DEPTH
      The struct member offsets.
    • LOAD_OP

      public static final int LOAD_OP
      The struct member offsets.
    • STORE_OP

      public static final int STORE_OP
      The struct member offsets.
    • STENCIL_LOAD_OP

      public static final int STENCIL_LOAD_OP
      The struct member offsets.
    • STENCIL_STORE_OP

      public static final int STENCIL_STORE_OP
      The struct member offsets.
    • CYCLE

      public static final int CYCLE
      The struct member offsets.
    • CLEAR_STENCIL

      public static final int CLEAR_STENCIL
      The struct member offsets.
    • MIP_LEVEL

      public static final int MIP_LEVEL
      The struct member offsets.
    • LAYER

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

    • SDL_GPUDepthStencilTargetInfo

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