Class GLXStereoNotifyEventEXT

All Implemented Interfaces:
Pointer

public class GLXStereoNotifyEventEXT extends Struct<GLXStereoNotifyEventEXT>

Layout


 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()
      GenericEvent
    • serial

      public long serial()
      \# of last request server processed
    • send_event

      public boolean send_event()
      True if generated by SendEvent request
    • display

      public long display()
      display the event was read from
    • extension

      public int extension()
      GLX major opcode, from XQueryExtension
    • evtype

      public int evtype()
      always GLX_STEREO_NOTIFY_EXT
    • window

      public long window()
      XID of the X window affected
    • stereo_tree

      public boolean stereo_tree()
      True if tree contains stereo windows
    • create

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

      @Nullable public static 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

      @Nullable public static 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().