Class GLXStereoNotifyEventEXT

All Implemented Interfaces:
Pointer

public class GLXStereoNotifyEventEXT extends Struct<GLXStereoNotifyEventEXT>

 struct GLXStereoNotifyEventEXT {
     int type;
     unsigned long serial;
     Bool send_event;
     Display * display;
     int extension;
     int evtype;
     GLXDrawable window;
     Bool stereo_tree;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int TYPE
      The struct member offsets.
    • SERIAL

      public static final int SERIAL
      The struct member offsets.
    • SEND_EVENT

      public static final int SEND_EVENT
      The struct member offsets.
    • DISPLAY

      public static final int DISPLAY
      The struct member offsets.
    • EXTENSION

      public static final int EXTENSION
      The struct member offsets.
    • EVTYPE

      public static final int EVTYPE
      The struct member offsets.
    • WINDOW

      public static final int WINDOW
      The struct member offsets.
    • STEREO_TREE

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

    • GLXStereoNotifyEventEXT

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

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<GLXStereoNotifyEventEXT>
    • type

      public int type()
      Returns:
      the value of the type field.
    • serial

      public long serial()
      Returns:
      the value of the serial field.
    • send_event

      public boolean send_event()
      Returns:
      the value of the send_event field.
    • display

      public long display()
      Returns:
      the value of the display field.
    • extension

      public int extension()
      Returns:
      the value of the extension field.
    • evtype

      public int evtype()
      Returns:
      the value of the evtype field.
    • window

      public long window()
      Returns:
      the value of the window field.
    • stereo_tree

      public boolean stereo_tree()
      Returns:
      the value of the stereo_tree field.
    • create

      public static GLXStereoNotifyEventEXT create(long address)
      Returns a new GLXStereoNotifyEventEXT instance for the specified memory address.
    • createSafe

      public static @Nullable GLXStereoNotifyEventEXT createSafe(long address)
      Like create, but returns null if address is NULL.
    • create

      public static GLXStereoNotifyEventEXT.Buffer create(long address, int capacity)
      Create a GLXStereoNotifyEventEXT.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable GLXStereoNotifyEventEXT.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • ntype

      public static int ntype(long struct)
      Unsafe version of type().
    • nserial

      public static long nserial(long struct)
      Unsafe version of serial().
    • nsend_event

      public static int nsend_event(long struct)
      Unsafe version of send_event().
    • ndisplay

      public static long ndisplay(long struct)
      Unsafe version of display().
    • nextension

      public static int nextension(long struct)
      Unsafe version of extension().
    • nevtype

      public static int nevtype(long struct)
      Unsafe version of evtype().
    • nwindow

      public static long nwindow(long struct)
      Unsafe version of window().
    • nstereo_tree

      public static int nstereo_tree(long struct)
      Unsafe version of stereo_tree().