Package org.lwjgl.opengl
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
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 ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionGLXStereoNotifyEventEXT(ByteBuffer container) Creates aGLXStereoNotifyEventEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic GLXStereoNotifyEventEXTcreate(long address) Returns a newGLXStereoNotifyEventEXTinstance for the specified memory address.create(long address, int capacity) Create aGLXStereoNotifyEventEXT.Bufferinstance at the specified memory.static GLXStereoNotifyEventEXTcreateSafe(long address) createSafe(long address, int capacity) longdisplay()display the event was read fromintevtype()alwaysGLX_STEREO_NOTIFY_EXTintGLX major opcode, fromXQueryExtensionstatic longndisplay(long struct) Unsafe version ofdisplay().static intnevtype(long struct) Unsafe version ofevtype().static intnextension(long struct) Unsafe version ofextension().static intnsend_event(long struct) Unsafe version ofsend_event().static longnserial(long struct) Unsafe version ofserial().static intnstereo_tree(long struct) Unsafe version ofstereo_tree().static intntype(long struct) Unsafe version oftype().static longnwindow(long struct) Unsafe version ofwindow().booleanTrueif generated bySendEventrequestlongserial()\# of last request server processedintsizeof()booleanTrueif tree contains stereo windowsinttype()GenericEventlongwindow()XID of the X window affectedMethods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
TYPE
public static final int TYPEThe struct member offsets. -
SERIAL
public static final int SERIALThe struct member offsets. -
SEND_EVENT
public static final int SEND_EVENTThe struct member offsets. -
DISPLAY
public static final int DISPLAYThe struct member offsets. -
EXTENSION
public static final int EXTENSIONThe struct member offsets. -
EVTYPE
public static final int EVTYPEThe struct member offsets. -
WINDOW
public static final int WINDOWThe struct member offsets. -
STEREO_TREE
public static final int STEREO_TREEThe struct member offsets.
-
-
Constructor Details
-
GLXStereoNotifyEventEXT
Creates aGLXStereoNotifyEventEXTinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct<GLXStereoNotifyEventEXT>
-
type
public int type()GenericEvent -
serial
public long serial()\# of last request server processed -
send_event
public boolean send_event()Trueif generated bySendEventrequest -
display
public long display()display the event was read from -
extension
public int extension()GLX major opcode, fromXQueryExtension -
evtype
public int evtype()alwaysGLX_STEREO_NOTIFY_EXT -
window
public long window()XID of the X window affected -
stereo_tree
public boolean stereo_tree()Trueif tree contains stereo windows -
create
Returns a newGLXStereoNotifyEventEXTinstance for the specified memory address. -
createSafe
-
create
Create aGLXStereoNotifyEventEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
ntype
public static int ntype(long struct) Unsafe version oftype(). -
nserial
public static long nserial(long struct) Unsafe version ofserial(). -
nsend_event
public static int nsend_event(long struct) Unsafe version ofsend_event(). -
ndisplay
public static long ndisplay(long struct) Unsafe version ofdisplay(). -
nextension
public static int nextension(long struct) Unsafe version ofextension(). -
nevtype
public static int nevtype(long struct) Unsafe version ofevtype(). -
nwindow
public static long nwindow(long struct) Unsafe version ofwindow(). -
nstereo_tree
public static int nstereo_tree(long struct) Unsafe version ofstereo_tree().
-