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–Trueif generated bySendEventrequestdisplay– display the event was read fromextension– GLX major opcode, fromXQueryExtensionevtype– alwaysGLX_STEREO_NOTIFY_EXTwindow– XID of the X window affectedstereo_tree–Trueif 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 classGLXStereoNotifyEventEXT.BufferAn array ofGLXStereoNotifyEventEXTstructs.-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
Fields Modifier and Type Field and Description static intSIZEOFThe 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 aGLXStereoNotifyEventEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static GLXStereoNotifyEventEXTcalloc()Returns a newGLXStereoNotifyEventEXTinstance allocated withmemCalloc.static GLXStereoNotifyEventEXT.Buffercalloc(int capacity)Returns a newGLXStereoNotifyEventEXT.Bufferinstance allocated withmemCalloc.static GLXStereoNotifyEventEXTcallocStack()Returns a newGLXStereoNotifyEventEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static GLXStereoNotifyEventEXT.BuffercallocStack(int capacity)Returns a newGLXStereoNotifyEventEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static GLXStereoNotifyEventEXT.BuffercallocStack(int capacity, MemoryStack stack)Returns a newGLXStereoNotifyEventEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static GLXStereoNotifyEventEXTcallocStack(MemoryStack stack)Returns a newGLXStereoNotifyEventEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static GLXStereoNotifyEventEXTcreate()Returns a newGLXStereoNotifyEventEXTinstance allocated withBufferUtils.static GLXStereoNotifyEventEXT.Buffercreate(int capacity)Returns a newGLXStereoNotifyEventEXT.Bufferinstance allocated withBufferUtils.static GLXStereoNotifyEventEXTcreate(long address)Returns a newGLXStereoNotifyEventEXTinstance for the specified memory address ornullif the address isNULL.static GLXStereoNotifyEventEXT.Buffercreate(long address, int capacity)Create aGLXStereoNotifyEventEXT.Bufferinstance at the specified memory.longdisplay()Returns the value of thedisplayfield.intevtype()Returns the value of theevtypefield.intextension()Returns the value of theextensionfield.static GLXStereoNotifyEventEXTmalloc()Returns a newGLXStereoNotifyEventEXTinstance allocated withmemAlloc.static GLXStereoNotifyEventEXT.Buffermalloc(int capacity)Returns a newGLXStereoNotifyEventEXT.Bufferinstance allocated withmemAlloc.static GLXStereoNotifyEventEXTmallocStack()Returns a newGLXStereoNotifyEventEXTinstance allocated on the thread-localMemoryStack.static GLXStereoNotifyEventEXT.BuffermallocStack(int capacity)Returns a newGLXStereoNotifyEventEXT.Bufferinstance allocated on the thread-localMemoryStack.static GLXStereoNotifyEventEXT.BuffermallocStack(int capacity, MemoryStack stack)Returns a newGLXStereoNotifyEventEXT.Bufferinstance allocated on the specifiedMemoryStack.static GLXStereoNotifyEventEXTmallocStack(MemoryStack stack)Returns a newGLXStereoNotifyEventEXTinstance allocated on the specifiedMemoryStack.intsend_event()Returns the value of thesend_eventfield.longserial()Returns the value of theserialfield.intsizeof()Returns thesizeof(struct).intstereo_tree()Returns the value of thestereo_treefield.inttype()Returns the value of thetypefield.longwindow()Returns the value of thewindowfield.-
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 aGLXStereoNotifyEventEXTinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturns thesizeof(struct).
-
type
public int type()
Returns the value of thetypefield.
-
serial
public long serial()
Returns the value of theserialfield.
-
send_event
public int send_event()
Returns the value of thesend_eventfield.
-
display
public long display()
Returns the value of thedisplayfield.
-
extension
public int extension()
Returns the value of theextensionfield.
-
evtype
public int evtype()
Returns the value of theevtypefield.
-
window
public long window()
Returns the value of thewindowfield.
-
stereo_tree
public int stereo_tree()
Returns the value of thestereo_treefield.
-
malloc
public static GLXStereoNotifyEventEXT malloc()
Returns a newGLXStereoNotifyEventEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static GLXStereoNotifyEventEXT calloc()
Returns a newGLXStereoNotifyEventEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static GLXStereoNotifyEventEXT create()
Returns a newGLXStereoNotifyEventEXTinstance allocated withBufferUtils.
-
create
public static GLXStereoNotifyEventEXT create(long address)
Returns a newGLXStereoNotifyEventEXTinstance for the specified memory address ornullif the address isNULL.
-
malloc
public static GLXStereoNotifyEventEXT.Buffer malloc(int capacity)
Returns a newGLXStereoNotifyEventEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static GLXStereoNotifyEventEXT.Buffer calloc(int capacity)
Returns a newGLXStereoNotifyEventEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static GLXStereoNotifyEventEXT.Buffer create(int capacity)
Returns a newGLXStereoNotifyEventEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static GLXStereoNotifyEventEXT.Buffer create(long address, int capacity)
Create aGLXStereoNotifyEventEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
mallocStack
public static GLXStereoNotifyEventEXT mallocStack()
Returns a newGLXStereoNotifyEventEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static GLXStereoNotifyEventEXT callocStack()
Returns a newGLXStereoNotifyEventEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static GLXStereoNotifyEventEXT mallocStack(MemoryStack stack)
Returns a newGLXStereoNotifyEventEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static GLXStereoNotifyEventEXT callocStack(MemoryStack stack)
Returns a newGLXStereoNotifyEventEXTinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static GLXStereoNotifyEventEXT.Buffer callocStack(int capacity)
Returns a newGLXStereoNotifyEventEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static GLXStereoNotifyEventEXT.Buffer mallocStack(int capacity, MemoryStack stack)
Returns a newGLXStereoNotifyEventEXT.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-