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.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier 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
ConstructorsConstructorDescriptionGLXStereoNotifyEventEXT
(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 @Nullable GLXStereoNotifyEventEXT
createSafe
(long address) static @Nullable GLXStereoNotifyEventEXT.Buffer
createSafe
(long address, int capacity) long
display()
int
evtype()
int
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
long
serial()
int
sizeof()
Returnssizeof(struct)
.boolean
int
type()
long
window()
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 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()- Returns:
- the value of the
type
field.
-
serial
public long serial()- Returns:
- the value of the
serial
field.
-
send_event
public boolean send_event()- Returns:
- the value of the
send_event
field.
-
display
public long display()- Returns:
- the value of the
display
field.
-
extension
public int extension()- Returns:
- the value of the
extension
field.
-
evtype
public int evtype()- Returns:
- the value of the
evtype
field.
-
window
public long window()- Returns:
- the value of the
window
field.
-
stereo_tree
public boolean stereo_tree()- Returns:
- the value of the
stereo_tree
field.
-
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()
.
-