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.Struct
Member documentation
type
– GenericEventserial
– \# of last request server processedsend_event
–True
if generated bySendEvent
requestdisplay
– display the event was read fromextension
– GLX major opcode, fromXQueryExtension
evtype
– alwaysGLX_STEREO_NOTIFY_EXT
window
– XID of the X window affectedstereo_tree
–True
if 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 class
GLXStereoNotifyEventEXT.Buffer
An array ofGLXStereoNotifyEventEXT
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
DISPLAY
EVTYPE
EXTENSION
SEND_EVENT
SERIALThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STEREO_TREE
TYPE
WINDOWThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description GLXStereoNotifyEventEXT(java.nio.ByteBuffer container)
Creates aGLXStereoNotifyEventEXT
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GLXStereoNotifyEventEXT
create(long address)
Returns a newGLXStereoNotifyEventEXT
instance for the specified memory address.static GLXStereoNotifyEventEXT.Buffer
create(long address, int capacity)
Create aGLXStereoNotifyEventEXT.Buffer
instance at the specified memory.static GLXStereoNotifyEventEXT
createSafe(long address)
static GLXStereoNotifyEventEXT.Buffer
createSafe(long address, int capacity)
long
display()
Returns the value of thedisplay
field.int
evtype()
Returns the value of theevtype
field.int
extension()
Returns the value of theextension
field.static long
ndisplay(long struct)
Unsafe version ofdisplay()
.static int
nevtype(long struct)
Unsafe version ofevtype()
.static int
nextension(long struct)
Unsafe version ofextension()
.static int
nsend_event(long struct)
Unsafe version ofsend_event()
.static long
nserial(long struct)
Unsafe version ofserial()
.static int
nstereo_tree(long struct)
Unsafe version ofstereo_tree()
.static int
ntype(long struct)
Unsafe version oftype()
.static long
nwindow(long struct)
Unsafe version ofwindow()
.boolean
send_event()
Returns the value of thesend_event
field.long
serial()
Returns the value of theserial
field.int
sizeof()
boolean
stereo_tree()
Returns the value of thestereo_tree
field.int
type()
Returns the value of thetype
field.long
window()
Returns the value of thewindow
field.
-
-
-
Constructor Detail
-
GLXStereoNotifyEventEXT
public GLXStereoNotifyEventEXT(java.nio.ByteBuffer container)
Creates aGLXStereoNotifyEventEXT
instance at the current position of the specifiedByteBuffer
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
type
public int type()
Returns the value of thetype
field.
-
serial
public long serial()
Returns the value of theserial
field.
-
send_event
public boolean send_event()
Returns the value of thesend_event
field.
-
display
public long display()
Returns the value of thedisplay
field.
-
extension
public int extension()
Returns the value of theextension
field.
-
evtype
public int evtype()
Returns the value of theevtype
field.
-
window
public long window()
Returns the value of thewindow
field.
-
stereo_tree
public boolean stereo_tree()
Returns the value of thestereo_tree
field.
-
create
public static GLXStereoNotifyEventEXT create(long address)
Returns a newGLXStereoNotifyEventEXT
instance 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.Buffer
instance 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()
.
-
-