Package org.lwjgl.opengl
Class GLXStereoNotifyEventEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.opengl.GLXStereoNotifyEventEXT
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class GLXStereoNotifyEventEXT extends org.lwjgl.system.StructMember documentation
type– GenericEventserial– \# of last request server processedsend_event–Trueif generated bySendEventrequestdisplay– display the event was read fromextension– GLX major opcode, fromXQueryExtensionevtype– alwaysGLX_STEREO_NOTIFY_EXTwindow– XID of the X window affectedstereo_tree–Trueif tree contains stereo windows
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 classGLXStereoNotifyEventEXT.BufferAn array ofGLXStereoNotifyEventEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intDISPLAY
EVTYPE
EXTENSION
SEND_EVENT
SERIALThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTEREO_TREE
TYPE
WINDOWThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description GLXStereoNotifyEventEXT(java.nio.ByteBuffer container)Creates aGLXStereoNotifyEventEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GLXStereoNotifyEventEXTcreate(long address)Returns a newGLXStereoNotifyEventEXTinstance for the specified memory address.static GLXStereoNotifyEventEXT.Buffercreate(long address, int capacity)Create aGLXStereoNotifyEventEXT.Bufferinstance at the specified memory.static GLXStereoNotifyEventEXTcreateSafe(long address)static GLXStereoNotifyEventEXT.BuffercreateSafe(long address, int capacity)longdisplay()Returns the value of thedisplayfield.intevtype()Returns the value of theevtypefield.intextension()Returns the value of theextensionfield.static 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().booleansend_event()Returns the value of thesend_eventfield.longserial()Returns the value of theserialfield.intsizeof()booleanstereo_tree()Returns the value of thestereo_treefield.inttype()Returns the value of thetypefield.longwindow()Returns the value of thewindowfield.
-
-
-
Constructor Detail
-
GLXStereoNotifyEventEXT
public GLXStereoNotifyEventEXT(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
type
public int type()
Returns the value of thetypefield.
-
serial
public long serial()
Returns the value of theserialfield.
-
send_event
public boolean send_event()
Returns the value of thesend_eventfield.
-
display
public long display()
Returns the value of thedisplayfield.
-
extension
public int extension()
Returns the value of theextensionfield.
-
evtype
public int evtype()
Returns the value of theevtypefield.
-
window
public long window()
Returns the value of thewindowfield.
-
stereo_tree
public boolean stereo_tree()
Returns the value of thestereo_treefield.
-
create
public static GLXStereoNotifyEventEXT create(long address)
Returns a newGLXStereoNotifyEventEXTinstance for the specified memory address.
-
createSafe
@Nullable public static GLXStereoNotifyEventEXT createSafe(long address)
-
create
public static GLXStereoNotifyEventEXT.Buffer create(long address, int capacity)
Create aGLXStereoNotifyEventEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static GLXStereoNotifyEventEXT.Buffer createSafe(long address, int capacity)
-
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().
-
-