Package org.lwjgl.opengl
Class GLXStereoNotifyEventEXT
- All Implemented Interfaces:
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 classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionGLXStereoNotifyEventEXT
(ByteBuffer container) Creates aGLXStereoNotifyEventEXT
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic GLXStereoNotifyEventEXT
create
(long address) Returns a newGLXStereoNotifyEventEXT
instance for the specified memory address.create
(long address, int capacity) Create aGLXStereoNotifyEventEXT.Buffer
instance at the specified memory.static GLXStereoNotifyEventEXT
createSafe
(long address) createSafe
(long address, int capacity) long
display()
display the event was read fromint
evtype()
alwaysGLX_STEREO_NOTIFY_EXT
int
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
True
if generated bySendEvent
requestlong
serial()
\# of last request server processedint
sizeof()
Returnssizeof(struct)
.boolean
True
if tree contains stereo windowsint
type()
GenericEventlong
window()
XID of the X window affectedMethods 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 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 Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<GLXStereoNotifyEventEXT>
-
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
Returns a newGLXStereoNotifyEventEXT
instance for the specified memory address. -
createSafe
-
create
Create aGLXStereoNotifyEventEXT.Buffer
instance 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()
.
-