Top Description Inners Fields Constructors Methods
org.lwjgl.opengl

public Class GLXStereoNotifyEventEXT

extends Struct<GLXStereoNotifyEventEXT>
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

Layout


struct GLXStereoNotifyEventEXT {
    int type;
    unsigned long serial;
    Bool send_event;
    Display * display;
    int extension;
    int evtype;
    GLXDrawable window;
    Bool stereo_tree;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
DISPLAY

The struct member offsets.

public static final int
EVTYPE

The struct member offsets.

public static final int
EXTENSION

The struct member offsets.

public static final int
SEND_EVENT

The struct member offsets.

public static final int
SERIAL

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STEREO_TREE

The struct member offsets.

public static final int
TYPE

The struct member offsets.

public static final int
WINDOW

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
GLXStereoNotifyEventEXT(long address, ByteBuffer container)

public
GLXStereoNotifyEventEXT(ByteBuffer container)

Creates a GLXStereoNotifyEventEXT instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
protected GLXStereoNotifyEventEXT
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static GLXStereoNotifyEventEXT
create(long address)

Returns a new GLXStereoNotifyEventEXT instance for the specified memory address.

public static GLXStereoNotifyEventEXT.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a GLXStereoNotifyEventEXT.Buffer instance at the specified memory.

public static GLXStereoNotifyEventEXT
createSafe(long address)

Like create, but returns null if address is NULL.

public static GLXStereoNotifyEventEXT.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public long
display()

display the event was read from

public int
evtype()

always GLX_STEREO_NOTIFY_EXT

public int
extension()

GLX major opcode, from XQueryExtension

public static long
ndisplay(long struct)

Unsafe version of display.

public static int
nevtype(long struct)

Unsafe version of evtype.

public static int
nextension(long struct)

Unsafe version of extension.

public static int
nsend_event(long struct)

Unsafe version of send_event.

public static long
nserial(long struct)

Unsafe version of serial.

public static int
nstereo_tree(long struct)

Unsafe version of stereo_tree.

public static int
ntype(long struct)

Unsafe version of type.

public static long
nwindow(long struct)

Unsafe version of window.

public boolean
send_event()

True if generated by SendEvent request

public long
serial()

\# of last request server processed

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public boolean
stereo_tree()

True if tree contains stereo windows

public int
type()

GenericEvent

public long
window()

XID of the X window affected

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

DISPLAYback to summary
public static final int DISPLAY

The struct member offsets.

EVTYPEback to summary
public static final int EVTYPE

The struct member offsets.

EXTENSIONback to summary
public static final int EXTENSION

The struct member offsets.

SEND_EVENTback to summary
public static final int SEND_EVENT

The struct member offsets.

SERIALback to summary
public static final int SERIAL

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

STEREO_TREEback to summary
public static final int STEREO_TREE

The struct member offsets.

TYPEback to summary
public static final int TYPE

The struct member offsets.

WINDOWback to summary
public static final int WINDOW

The struct member offsets.

Constructor Detail

GLXStereoNotifyEventEXTback to summary
protected GLXStereoNotifyEventEXT(long address, ByteBuffer container)
GLXStereoNotifyEventEXTback to summary
public GLXStereoNotifyEventEXT(ByteBuffer container)

Creates a GLXStereoNotifyEventEXT instance at the current position of the specified ByteBuffer 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

createback to summary
protected GLXStereoNotifyEventEXT create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static GLXStereoNotifyEventEXT create(long address)

Returns a new GLXStereoNotifyEventEXT instance for the specified memory address.

createback to summary
public static GLXStereoNotifyEventEXT.Buffer create(long address, int capacity)

Create a GLXStereoNotifyEventEXT.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static GLXStereoNotifyEventEXT createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static GLXStereoNotifyEventEXT.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
displayback to summary
public long display()

display the event was read from

Annotations
@NativeType:Display *
evtypeback to summary
public int evtype()

always GLX_STEREO_NOTIFY_EXT

extensionback to summary
public int extension()

GLX major opcode, from XQueryExtension

ndisplayback to summary
public static long ndisplay(long struct)

Unsafe version of display.

nevtypeback to summary
public static int nevtype(long struct)

Unsafe version of evtype.

nextensionback to summary
public static int nextension(long struct)

Unsafe version of extension.

nsend_eventback to summary
public static int nsend_event(long struct)

Unsafe version of send_event.

nserialback to summary
public static long nserial(long struct)

Unsafe version of serial.

nstereo_treeback to summary
public static int nstereo_tree(long struct)

Unsafe version of stereo_tree.

ntypeback to summary
public static int ntype(long struct)

Unsafe version of type.

nwindowback to summary
public static long nwindow(long struct)

Unsafe version of window.

send_eventback to summary
public boolean send_event()

True if generated by SendEvent request

Annotations
@NativeType:Bool
serialback to summary
public long serial()

\# of last request server processed

Annotations
@NativeType:unsigned long
sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
stereo_treeback to summary
public boolean stereo_tree()

True if tree contains stereo windows

Annotations
@NativeType:Bool
typeback to summary
public int type()

GenericEvent

windowback to summary
public long window()

XID of the X window affected

Annotations
@NativeType:GLXDrawable
org.lwjgl.opengl back to summary

public Class GLXStereoNotifyEventEXT.Buffer

extends StructBuffer<GLXStereoNotifyEventEXT, GLXStereoNotifyEventEXT.Buffer>
Class Inheritance

An array of GLXStereoNotifyEventEXT structs.

Field Summary

Modifier and TypeField and Description
private static final GLXStereoNotifyEventEXT

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new GLXStereoNotifyEventEXT.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

the value of the GLXStereoNotifyEventEXT#display field.
display
()

public int

Returns:

the value of the GLXStereoNotifyEventEXT#evtype field.
evtype
()

public int

Returns:

the value of the GLXStereoNotifyEventEXT#extension field.
extension
()

protected GLXStereoNotifyEventEXT
protected GLXStereoNotifyEventEXT.Buffer
public boolean

Returns:

the value of the GLXStereoNotifyEventEXT#send_event field.
send_event
()

public long

Returns:

the value of the GLXStereoNotifyEventEXT#serial field.
serial
()

public boolean

Returns:

the value of the GLXStereoNotifyEventEXT#stereo_tree field.
stereo_tree
()

public int

Returns:

the value of the GLXStereoNotifyEventEXT#type field.
type
()

public long

Returns:

the value of the GLXStereoNotifyEventEXT#window field.
window
()

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final GLXStereoNotifyEventEXT ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new GLXStereoNotifyEventEXT.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by GLXStereoNotifyEventEXT#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

displayback to summary
public long display()
Returns:long

the value of the GLXStereoNotifyEventEXT#display field.

Annotations
@NativeType:Display *
evtypeback to summary
public int evtype()
Returns:int

the value of the GLXStereoNotifyEventEXT#evtype field.

extensionback to summary
public int extension()
Returns:int

the value of the GLXStereoNotifyEventEXT#extension field.

getElementFactoryback to summary
protected GLXStereoNotifyEventEXT getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
selfback to summary
protected GLXStereoNotifyEventEXT.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
send_eventback to summary
public boolean send_event()
Returns:boolean

the value of the GLXStereoNotifyEventEXT#send_event field.

Annotations
@NativeType:Bool
serialback to summary
public long serial()
Returns:long

the value of the GLXStereoNotifyEventEXT#serial field.

Annotations
@NativeType:unsigned long
stereo_treeback to summary
public boolean stereo_tree()
Returns:boolean

the value of the GLXStereoNotifyEventEXT#stereo_tree field.

Annotations
@NativeType:Bool
typeback to summary
public int type()
Returns:int

the value of the GLXStereoNotifyEventEXT#type field.

windowback to summary
public long window()
Returns:long

the value of the GLXStereoNotifyEventEXT#window field.

Annotations
@NativeType:GLXDrawable