Class SDL_GPUStencilOpState

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_GPUStencilOpState extends Struct<SDL_GPUStencilOpState> implements NativeResource
struct SDL_GPUStencilOpState {
    SDL_GPUStencilOp fail_op;
    SDL_GPUStencilOp pass_op;
    SDL_GPUStencilOp depth_fail_op;
    SDL_GPUCompareOp compare_op;
}
  • Field Details

    • SIZEOF

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

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

      public static final int FAIL_OP
      The struct member offsets.
    • PASS_OP

      public static final int PASS_OP
      The struct member offsets.
    • DEPTH_FAIL_OP

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

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

    • SDL_GPUStencilOpState

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