Package org.lwjgl.opengl
Class GLXStereoNotifyEventEXT
- All Implemented Interfaces:
Pointer
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 ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionGLXStereoNotifyEventEXT(ByteBuffer container) Creates aGLXStereoNotifyEventEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic GLXStereoNotifyEventEXTcreate(long address) Returns a newGLXStereoNotifyEventEXTinstance for the specified memory address.create(long address, int capacity) Create aGLXStereoNotifyEventEXT.Bufferinstance at the specified memory.static @Nullable GLXStereoNotifyEventEXTcreateSafe(long address) static @Nullable GLXStereoNotifyEventEXT.BuffercreateSafe(long address, int capacity) longdisplay()intevtype()intstatic longndisplay(long struct) Unsafe version ofdisplay().static intnevtype(long struct) Unsafe version ofevtype().static intnextension(long struct) Unsafe version ofextension().static intnsend_event(long struct) Unsafe version ofsend_event().static longnserial(long struct) Unsafe version ofserial().static intnstereo_tree(long struct) Unsafe version ofstereo_tree().static intntype(long struct) Unsafe version oftype().static longnwindow(long struct) Unsafe version ofwindow().booleanlongserial()intsizeof()Returnssizeof(struct).booleaninttype()longwindow()Methods 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 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<GLXStereoNotifyEventEXT>
-
type
public int type()- Returns:
- the value of the
typefield.
-
serial
public long serial()- Returns:
- the value of the
serialfield.
-
send_event
public boolean send_event()- Returns:
- the value of the
send_eventfield.
-
display
public long display()- Returns:
- the value of the
displayfield.
-
extension
public int extension()- Returns:
- the value of the
extensionfield.
-
evtype
public int evtype()- Returns:
- the value of the
evtypefield.
-
window
public long window()- Returns:
- the value of the
windowfield.
-
stereo_tree
public boolean stereo_tree()- Returns:
- the value of the
stereo_treefield.
-
create
Returns a newGLXStereoNotifyEventEXTinstance for the specified memory address. -
createSafe
-
create
Create aGLXStereoNotifyEventEXT.Bufferinstance 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().
-