Package org.lwjgl.sdl

Class SDL_GPURasterizerState.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<SDL_GPURasterizerState>, NativeResource, Pointer
Enclosing class:
SDL_GPURasterizerState

public static class SDL_GPURasterizerState.Buffer extends StructBuffer<SDL_GPURasterizerState,SDL_GPURasterizerState.Buffer> implements NativeResource
An array of SDL_GPURasterizerState structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new SDL_GPURasterizerState.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by SDL_GPURasterizerState.SIZEOF, and its mark will be undefined.

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

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • fill_mode

      public int fill_mode()
      Returns:
      the value of the fill_mode field.
    • cull_mode

      public int cull_mode()
      Returns:
      the value of the cull_mode field.
    • front_face

      public int front_face()
      Returns:
      the value of the front_face field.
    • depth_bias_constant_factor

      public float depth_bias_constant_factor()
      Returns:
      the value of the depth_bias_constant_factor field.
    • depth_bias_clamp

      public float depth_bias_clamp()
      Returns:
      the value of the depth_bias_clamp field.
    • depth_bias_slope_factor

      public float depth_bias_slope_factor()
      Returns:
      the value of the depth_bias_slope_factor field.
    • enable_depth_bias

      public boolean enable_depth_bias()
      Returns:
      the value of the enable_depth_bias field.
    • enable_depth_clip

      public boolean enable_depth_clip()
      Returns:
      the value of the enable_depth_clip field.
    • fill_mode

      public SDL_GPURasterizerState.Buffer fill_mode(int value)
      Sets the specified value to the fill_mode field.
    • cull_mode

      public SDL_GPURasterizerState.Buffer cull_mode(int value)
      Sets the specified value to the cull_mode field.
    • front_face

      public SDL_GPURasterizerState.Buffer front_face(int value)
      Sets the specified value to the front_face field.
    • depth_bias_constant_factor

      public SDL_GPURasterizerState.Buffer depth_bias_constant_factor(float value)
      Sets the specified value to the depth_bias_constant_factor field.
    • depth_bias_clamp

      public SDL_GPURasterizerState.Buffer depth_bias_clamp(float value)
      Sets the specified value to the depth_bias_clamp field.
    • depth_bias_slope_factor

      public SDL_GPURasterizerState.Buffer depth_bias_slope_factor(float value)
      Sets the specified value to the depth_bias_slope_factor field.
    • enable_depth_bias

      public SDL_GPURasterizerState.Buffer enable_depth_bias(boolean value)
      Sets the specified value to the enable_depth_bias field.
    • enable_depth_clip

      public SDL_GPURasterizerState.Buffer enable_depth_clip(boolean value)
      Sets the specified value to the enable_depth_clip field.