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
Layout
struct GLXStereoNotifyEventEXT { int
type()
; unsigned longserial()
; Boolsend_event()
; Display *display()
; intextension()
; intevtype()
; GLXDrawablewindow()
; Boolstereo_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()
display the event was read fromint
evtype()
alwaysGLX_STEREO_NOTIFY_EXT
int
extension()
GLX major opcode, fromXQueryExtension
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()
True
if generated bySendEvent
requestlong
serial()
\# of last request server processedint
sizeof()
boolean
stereo_tree()
True
if tree contains stereo windowsint
type()
GenericEventlong
window()
XID of the X window affected
-
-
-
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()
GenericEvent
-
serial
public long serial()
\# of last request server processed
-
send_event
public boolean send_event()
True
if generated bySendEvent
request
-
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()
True
if tree contains stereo windows
-
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()
.
-
-