Class GLXStereoNotifyEventEXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<GLXStereoNotifyEventEXT>
org.lwjgl.opengl.GLXStereoNotifyEventEXT
All Implemented Interfaces:
org.lwjgl.system.Pointer

public class GLXStereoNotifyEventEXT extends org.lwjgl.system.Struct<GLXStereoNotifyEventEXT>

Layout


 struct GLXStereoNotifyEventEXT {
     int type();
     unsigned long serial();
     Bool send_event();
     Display * display();
     int extension();
     int evtype();
     GLXDrawable window();
     Bool stereo_tree();
 }
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    An array of GLXStereoNotifyEventEXT structs.

    Nested classes/interfaces inherited from class org.lwjgl.system.Struct

    org.lwjgl.system.Struct.StructValidation

    Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

    org.lwjgl.system.Pointer.Default
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The struct alignment in bytes.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct size in bytes.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.
    static final int
    The struct member offsets.

    Fields inherited from interface org.lwjgl.system.Pointer

    BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a GLXStereoNotifyEventEXT instance at the current position of the specified ByteBuffer container.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(long address)
    Returns a new GLXStereoNotifyEventEXT instance for the specified memory address.
    create(long address, int capacity)
    Create a GLXStereoNotifyEventEXT.Buffer instance at the specified memory.
    createSafe(long address)
    Like create, but returns null if address is NULL.
    createSafe(long address, int capacity)
    Like create, but returns null if address is NULL.
    long
    display the event was read from
    int
    always GLX_STEREO_NOTIFY_EXT
    int
    GLX major opcode, from XQueryExtension
    static long
    ndisplay(long struct)
    Unsafe version of display().
    static int
    nevtype(long struct)
    Unsafe version of evtype().
    static int
    nextension(long struct)
    Unsafe version of extension().
    static int
    nsend_event(long struct)
    Unsafe version of send_event().
    static long
    nserial(long struct)
    Unsafe version of serial().
    static int
    nstereo_tree(long struct)
    Unsafe version of stereo_tree().
    static int
    ntype(long struct)
    Unsafe version of type().
    static long
    nwindow(long struct)
    Unsafe version of window().
    boolean
    True if generated by SendEvent request
    long
    \# of last request server processed
    int
     
    boolean
    True if tree contains stereo windows
    int
    GenericEvent
    long
    XID of the X window affected

    Methods inherited from class org.lwjgl.system.Struct

    clear, free, isNull, validate

    Methods inherited from class org.lwjgl.system.Pointer.Default

    address, equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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()
      Specified by:
      sizeof in class org.lwjgl.system.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().