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:
- java.lang.AutoCloseable, NativeResource, Pointer
public class GLXStereoNotifyEventEXT extends 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.-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
Fields Modifier and Type Field and Description static int
SIZEOF
The struct size in bytes.-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
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
calloc()
Returns a newGLXStereoNotifyEventEXT
instance allocated withmemCalloc
.static GLXStereoNotifyEventEXT.Buffer
calloc(int capacity)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated withmemCalloc
.static GLXStereoNotifyEventEXT
callocStack()
Returns a newGLXStereoNotifyEventEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static GLXStereoNotifyEventEXT.Buffer
callocStack(int capacity)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static GLXStereoNotifyEventEXT.Buffer
callocStack(int capacity, MemoryStack stack)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static GLXStereoNotifyEventEXT
callocStack(MemoryStack stack)
Returns a newGLXStereoNotifyEventEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static GLXStereoNotifyEventEXT
create()
Returns a newGLXStereoNotifyEventEXT
instance allocated withBufferUtils
.static GLXStereoNotifyEventEXT.Buffer
create(int capacity)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated withBufferUtils
.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.static GLXStereoNotifyEventEXT
malloc()
Returns a newGLXStereoNotifyEventEXT
instance allocated withmemAlloc
.static GLXStereoNotifyEventEXT.Buffer
malloc(int capacity)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated withmemAlloc
.static GLXStereoNotifyEventEXT
mallocStack()
Returns a newGLXStereoNotifyEventEXT
instance allocated on the thread-localMemoryStack
.static GLXStereoNotifyEventEXT.Buffer
mallocStack(int capacity)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated on the thread-localMemoryStack
.static GLXStereoNotifyEventEXT.Buffer
mallocStack(int capacity, MemoryStack stack)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated on the specifiedMemoryStack
.static GLXStereoNotifyEventEXT
mallocStack(MemoryStack stack)
Returns a newGLXStereoNotifyEventEXT
instance allocated on the specifiedMemoryStack
.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.-
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
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:Struct
Returns thesizeof(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.
-
malloc
public static GLXStereoNotifyEventEXT malloc()
Returns a newGLXStereoNotifyEventEXT
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static GLXStereoNotifyEventEXT calloc()
Returns a newGLXStereoNotifyEventEXT
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static GLXStereoNotifyEventEXT create()
Returns a newGLXStereoNotifyEventEXT
instance allocated withBufferUtils
.
-
create
public static GLXStereoNotifyEventEXT create(long address)
Returns a newGLXStereoNotifyEventEXT
instance for the specified memory address ornull
if the address isNULL
.
-
malloc
public static GLXStereoNotifyEventEXT.Buffer malloc(int capacity)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static GLXStereoNotifyEventEXT.Buffer calloc(int capacity)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static GLXStereoNotifyEventEXT.Buffer create(int capacity)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
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
-
mallocStack
public static GLXStereoNotifyEventEXT mallocStack()
Returns a newGLXStereoNotifyEventEXT
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static GLXStereoNotifyEventEXT callocStack()
Returns a newGLXStereoNotifyEventEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static GLXStereoNotifyEventEXT mallocStack(MemoryStack stack)
Returns a newGLXStereoNotifyEventEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static GLXStereoNotifyEventEXT callocStack(MemoryStack stack)
Returns a newGLXStereoNotifyEventEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static GLXStereoNotifyEventEXT.Buffer mallocStack(int capacity)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static GLXStereoNotifyEventEXT.Buffer callocStack(int capacity)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static GLXStereoNotifyEventEXT.Buffer mallocStack(int capacity, MemoryStack stack)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static GLXStereoNotifyEventEXT.Buffer callocStack(int capacity, MemoryStack stack)
Returns a newGLXStereoNotifyEventEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-