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.StructLayout
struct GLXStereoNotifyEventEXT { inttype(); unsigned longserial(); Boolsend_event(); Display *display(); intextension(); intevtype(); GLXDrawablewindow(); Boolstereo_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()display the event was read fromintevtype()alwaysGLX_STEREO_NOTIFY_EXTintextension()GLX 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().booleansend_event()Trueif generated bySendEventrequestlongserial()\# of last request server processedintsizeof()booleanstereo_tree()Trueif tree contains stereo windowsinttype()GenericEventlongwindow()XID of the X window affected
-
-
-
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()
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
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().
-
-