Class GLFWGammaRamp

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class GLFWGammaRamp extends Struct<GLFWGammaRamp> implements NativeResource
Describes the gamma ramp for a monitor.

Layout


 struct GLFWgammaramp {
     unsigned short * red();
     unsigned short * green();
     unsigned short * blue();
     unsigned int size();
 }
Since:
version 3.0
  • Field Details

    • SIZEOF

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

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

      public static final int RED
      The struct member offsets.
    • GREEN

      public static final int GREEN
      The struct member offsets.
    • BLUE

      public static final int BLUE
      The struct member offsets.
    • SIZE

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

    • GLFWGammaRamp

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