Package org.lwjgl.sdl

Class SDL_GPUDepthStencilState

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_GPUDepthStencilState extends Struct<SDL_GPUDepthStencilState> implements NativeResource

 struct SDL_GPUDepthStencilState {
     SDL_GPUCompareOp compare_op;
     {@link SDL_GPUStencilOpState SDL_GPUStencilOpState} back_stencil_state;
     {@link SDL_GPUStencilOpState SDL_GPUStencilOpState} front_stencil_state;
     Uint8 compare_mask;
     Uint8 write_mask;
     bool enable_depth_test;
     bool enable_depth_write;
     bool enable_stencil_test;
     Uint8 padding1;
     Uint8 padding2;
     Uint8 padding3;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int COMPARE_OP
      The struct member offsets.
    • BACK_STENCIL_STATE

      public static final int BACK_STENCIL_STATE
      The struct member offsets.
    • FRONT_STENCIL_STATE

      public static final int FRONT_STENCIL_STATE
      The struct member offsets.
    • COMPARE_MASK

      public static final int COMPARE_MASK
      The struct member offsets.
    • WRITE_MASK

      public static final int WRITE_MASK
      The struct member offsets.
    • ENABLE_DEPTH_TEST

      public static final int ENABLE_DEPTH_TEST
      The struct member offsets.
    • ENABLE_DEPTH_WRITE

      public static final int ENABLE_DEPTH_WRITE
      The struct member offsets.
    • ENABLE_STENCIL_TEST

      public static final int ENABLE_STENCIL_TEST
      The struct member offsets.
    • PADDING1

      public static final int PADDING1
      The struct member offsets.
    • PADDING2

      public static final int PADDING2
      The struct member offsets.
    • PADDING3

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

    • SDL_GPUDepthStencilState

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