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 and Description static class
GLXStereoNotifyEventEXT.Buffer
An array ofGLXStereoNotifyEventEXT
structs.
-
Field Summary
Fields Modifier and Type Field and Description static int
SIZEOF
The struct size in bytes.
-
Constructor Summary
Constructors Constructor and 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 and Description static GLXStereoNotifyEventEXT
create(long address)
Returns a newGLXStereoNotifyEventEXT
instance for the specified memory address ornull
if the address isNULL
.static GLXStereoNotifyEventEXT.Buffer
create(long address, int capacity)
Create aGLXStereoNotifyEventEXT.Buffer
instance at the specified memory.long
display()
Returns the value of thedisplay
field.int
evtype()
Returns the value of theevtype
field.int
extension()
Returns the value of theextension
field.int
send_event()
Returns the value of thesend_event
field.long
serial()
Returns the value of theserial
field.int
sizeof()
Returns thesizeof(struct)
.int
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()
Description copied from class:org.lwjgl.system.Struct
Returns thesizeof(struct)
.- 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 int 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 int 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 ornull
if the address isNULL
.
-
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
-
-