Top Description Inners Fields Constructors Methods
org.lwjgl.openxr

public Class XrGraphicsBindingOpenGLXcbKHR

extends Struct<XrGraphicsBindingOpenGLXcbKHR>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

The graphics binding structure to be passed at session creation to use OpenGL on X11 via XCB.
Description

When creating an OpenGL-backed XrSession on any Linux/Unix platform that utilizes X11 and GLX, via the Xlib library, the application will provide a pointer to an XrGraphicsBindingOpenGLXcbKHR in the next chain of the XrSessionCreateInfo.

The required window system configuration define to expose this structure type is USE_PLATFORM_XCB.

Valid Usage (Implicit)
See Also

CreateSession

Layout


struct XrGraphicsBindingOpenGLXcbKHR {
    XrStructureType type;
    void const * next;
    xcb_connection_t * connection;
    uint32_t screenNumber;
    xcb_glx_fbconfig_t fbconfigid;
    xcb_visualid_t visualid;
    xcb_glx_drawable_t glxDrawable;
    xcb_glx_context_t glxContext;
}

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
CONNECTION

The struct member offsets.

public static final int
FBCONFIGID

The struct member offsets.

public static final int
GLXCONTEXT

The struct member offsets.

public static final int
GLXDRAWABLE

The struct member offsets.

public static final int
NEXT

The struct member offsets.

public static final int
SCREENNUMBER

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
TYPE

The struct member offsets.

public static final int
VISUALID

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

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

public
XrGraphicsBindingOpenGLXcbKHR(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static XrGraphicsBindingOpenGLXcbKHR
calloc()

Returns a new XrGraphicsBindingOpenGLXcbKHR instance allocated with memCalloc.

public static XrGraphicsBindingOpenGLXcbKHR.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new XrGraphicsBindingOpenGLXcbKHR.Buffer instance allocated with memCalloc.

public static XrGraphicsBindingOpenGLXcbKHR
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XrGraphicsBindingOpenGLXcbKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static XrGraphicsBindingOpenGLXcbKHR.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XrGraphicsBindingOpenGLXcbKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public long
connection()

a valid xcb_connection_t.

public XrGraphicsBindingOpenGLXcbKHR
connection(long value)

Sets the specified value to the connection field.

protected XrGraphicsBindingOpenGLXcbKHR
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 XrGraphicsBindingOpenGLXcbKHR
create()

Returns a new XrGraphicsBindingOpenGLXcbKHR instance allocated with BufferUtils.

public static XrGraphicsBindingOpenGLXcbKHR
create(long address)

Returns a new XrGraphicsBindingOpenGLXcbKHR instance for the specified memory address.

public static XrGraphicsBindingOpenGLXcbKHR.Buffer
create(int
the buffer capacity
capacity
)

Returns a new XrGraphicsBindingOpenGLXcbKHR.Buffer instance allocated with BufferUtils.

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

Create a XrGraphicsBindingOpenGLXcbKHR.Buffer instance at the specified memory.

public static XrGraphicsBindingOpenGLXcbKHR
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public int
fbconfigid()

a valid XCB OpenGL GLX xcb_glx_fbconfig_t.

public XrGraphicsBindingOpenGLXcbKHR
fbconfigid(int value)

Sets the specified value to the fbconfigid field.

public int
glxContext()

a valid XCB OpenGL GLX xcb_glx_context_t.

public XrGraphicsBindingOpenGLXcbKHR
glxContext(int value)

Sets the specified value to the glxContext field.

public int
glxDrawable()

a valid XCB OpenGL GLX xcb_glx_drawable_t.

public XrGraphicsBindingOpenGLXcbKHR
glxDrawable(int value)

Sets the specified value to the glxDrawable field.

public static XrGraphicsBindingOpenGLXcbKHR
malloc()

Returns a new XrGraphicsBindingOpenGLXcbKHR instance allocated with memAlloc.

public static XrGraphicsBindingOpenGLXcbKHR.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new XrGraphicsBindingOpenGLXcbKHR.Buffer instance allocated with memAlloc.

public static XrGraphicsBindingOpenGLXcbKHR
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XrGraphicsBindingOpenGLXcbKHR instance allocated on the specified MemoryStack.

public static XrGraphicsBindingOpenGLXcbKHR.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XrGraphicsBindingOpenGLXcbKHR.Buffer instance allocated on the specified MemoryStack.

public static long
nconnection(long struct)

Unsafe version of connection.

public static void
nconnection(long struct, long value)

Unsafe version of connection.

public long
next()

NULL or a pointer to the next structure in a structure chain.

public XrGraphicsBindingOpenGLXcbKHR
next(long value)

Sets the specified value to the next field.

public static int
nfbconfigid(long struct)

Unsafe version of fbconfigid.

public static void
nfbconfigid(long struct, int value)

Unsafe version of fbconfigid.

public static int
nglxContext(long struct)

Unsafe version of glxContext.

public static void
nglxContext(long struct, int value)

Unsafe version of glxContext.

public static int
nglxDrawable(long struct)

Unsafe version of glxDrawable.

public static void
nglxDrawable(long struct, int value)

Unsafe version of glxDrawable.

public static long
nnext(long struct)

Unsafe version of next.

public static void
nnext(long struct, long value)

Unsafe version of next.

public static int
nscreenNumber(long struct)

Unsafe version of screenNumber.

public static void
nscreenNumber(long struct, int value)

Unsafe version of screenNumber.

public static int
ntype(long struct)

Unsafe version of type.

public static void
ntype(long struct, int value)

Unsafe version of type.

public static int
nvisualid(long struct)

Unsafe version of visualid.

public static void
nvisualid(long struct, int value)

Unsafe version of visualid.

public int
screenNumber()

an index indicating which screen should be used for rendering.

public XrGraphicsBindingOpenGLXcbKHR
screenNumber(int value)

Sets the specified value to the screenNumber field.

public XrGraphicsBindingOpenGLXcbKHR
set(int type, long next, long connection, int screenNumber, int fbconfigid, int visualid, int glxDrawable, int glxContext)

Initializes this struct with the specified values.

public XrGraphicsBindingOpenGLXcbKHR

Returns:

this struct
set
(XrGraphicsBindingOpenGLXcbKHR
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

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

Returns sizeof(struct).
public int
type()

the XrStructureType of this structure.

public XrGraphicsBindingOpenGLXcbKHR
type(int value)

Sets the specified value to the type field.

public XrGraphicsBindingOpenGLXcbKHR
public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

public int
visualid()

a valid XCB OpenGL GLX xcb_visualid_t.

public XrGraphicsBindingOpenGLXcbKHR
visualid(int value)

Sets the specified value to the visualid field.

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.

CONNECTIONback to summary
public static final int CONNECTION

The struct member offsets.

FBCONFIGIDback to summary
public static final int FBCONFIGID

The struct member offsets.

GLXCONTEXTback to summary
public static final int GLXCONTEXT

The struct member offsets.

GLXDRAWABLEback to summary
public static final int GLXDRAWABLE

The struct member offsets.

NEXTback to summary
public static final int NEXT

The struct member offsets.

SCREENNUMBERback to summary
public static final int SCREENNUMBER

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

TYPEback to summary
public static final int TYPE

The struct member offsets.

VISUALIDback to summary
public static final int VISUALID

The struct member offsets.

Constructor Detail

XrGraphicsBindingOpenGLXcbKHRback to summary
protected XrGraphicsBindingOpenGLXcbKHR(long address, ByteBuffer container)
XrGraphicsBindingOpenGLXcbKHRback to summary
public XrGraphicsBindingOpenGLXcbKHR(ByteBuffer container)

Creates a XrGraphicsBindingOpenGLXcbKHR 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

callocback to summary
public static XrGraphicsBindingOpenGLXcbKHR calloc()

Returns a new XrGraphicsBindingOpenGLXcbKHR instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static XrGraphicsBindingOpenGLXcbKHR.Buffer calloc(int capacity)

Returns a new XrGraphicsBindingOpenGLXcbKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static XrGraphicsBindingOpenGLXcbKHR calloc(MemoryStack stack)

Returns a new XrGraphicsBindingOpenGLXcbKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static XrGraphicsBindingOpenGLXcbKHR.Buffer calloc(int capacity, MemoryStack stack)

Returns a new XrGraphicsBindingOpenGLXcbKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

connectionback to summary
public long connection()

a valid xcb_connection_t.

Annotations
@NativeType:xcb_connection_t *
connectionback to summary
public XrGraphicsBindingOpenGLXcbKHR connection(long value)

Sets the specified value to the connection field.

createback to summary
protected XrGraphicsBindingOpenGLXcbKHR 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 XrGraphicsBindingOpenGLXcbKHR create()

Returns a new XrGraphicsBindingOpenGLXcbKHR instance allocated with BufferUtils.

createback to summary
public static XrGraphicsBindingOpenGLXcbKHR create(long address)

Returns a new XrGraphicsBindingOpenGLXcbKHR instance for the specified memory address.

createback to summary
public static XrGraphicsBindingOpenGLXcbKHR.Buffer create(int capacity)

Returns a new XrGraphicsBindingOpenGLXcbKHR.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

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

Create a XrGraphicsBindingOpenGLXcbKHR.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static XrGraphicsBindingOpenGLXcbKHR createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

Annotations
@Nullable
fbconfigidback to summary
public int fbconfigid()

a valid XCB OpenGL GLX xcb_glx_fbconfig_t.

Annotations
@NativeType:xcb_glx_fbconfig_t
fbconfigidback to summary
public XrGraphicsBindingOpenGLXcbKHR fbconfigid(int value)

Sets the specified value to the fbconfigid field.

glxContextback to summary
public int glxContext()

a valid XCB OpenGL GLX xcb_glx_context_t.

Annotations
@NativeType:xcb_glx_context_t
glxContextback to summary
public XrGraphicsBindingOpenGLXcbKHR glxContext(int value)

Sets the specified value to the glxContext field.

glxDrawableback to summary
public int glxDrawable()

a valid XCB OpenGL GLX xcb_glx_drawable_t.

Annotations
@NativeType:xcb_glx_drawable_t
glxDrawableback to summary
public XrGraphicsBindingOpenGLXcbKHR glxDrawable(int value)

Sets the specified value to the glxDrawable field.

mallocback to summary
public static XrGraphicsBindingOpenGLXcbKHR malloc()

Returns a new XrGraphicsBindingOpenGLXcbKHR instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static XrGraphicsBindingOpenGLXcbKHR.Buffer malloc(int capacity)

Returns a new XrGraphicsBindingOpenGLXcbKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static XrGraphicsBindingOpenGLXcbKHR malloc(MemoryStack stack)

Returns a new XrGraphicsBindingOpenGLXcbKHR instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static XrGraphicsBindingOpenGLXcbKHR.Buffer malloc(int capacity, MemoryStack stack)

Returns a new XrGraphicsBindingOpenGLXcbKHR.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

nconnectionback to summary
public static long nconnection(long struct)

Unsafe version of connection.

nconnectionback to summary
public static void nconnection(long struct, long value)

Unsafe version of connection.

nextback to summary
public long next()

NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

Annotations
@NativeType:void const *
nextback to summary
public XrGraphicsBindingOpenGLXcbKHR next(long value)

Sets the specified value to the next field.

nfbconfigidback to summary
public static int nfbconfigid(long struct)

Unsafe version of fbconfigid.

nfbconfigidback to summary
public static void nfbconfigid(long struct, int value)

Unsafe version of fbconfigid.

nglxContextback to summary
public static int nglxContext(long struct)

Unsafe version of glxContext.

nglxContextback to summary
public static void nglxContext(long struct, int value)

Unsafe version of glxContext.

nglxDrawableback to summary
public static int nglxDrawable(long struct)

Unsafe version of glxDrawable.

nglxDrawableback to summary
public static void nglxDrawable(long struct, int value)

Unsafe version of glxDrawable.

nnextback to summary
public static long nnext(long struct)

Unsafe version of next.

nnextback to summary
public static void nnext(long struct, long value)

Unsafe version of next.

nscreenNumberback to summary
public static int nscreenNumber(long struct)

Unsafe version of screenNumber.

nscreenNumberback to summary
public static void nscreenNumber(long struct, int value)

Unsafe version of screenNumber.

ntypeback to summary
public static int ntype(long struct)

Unsafe version of type.

ntypeback to summary
public static void ntype(long struct, int value)

Unsafe version of type.

nvisualidback to summary
public static int nvisualid(long struct)

Unsafe version of visualid.

nvisualidback to summary
public static void nvisualid(long struct, int value)

Unsafe version of visualid.

screenNumberback to summary
public int screenNumber()

an index indicating which screen should be used for rendering.

Annotations
@NativeType:uint32_t
screenNumberback to summary
public XrGraphicsBindingOpenGLXcbKHR screenNumber(int value)

Sets the specified value to the screenNumber field.

setback to summary
public XrGraphicsBindingOpenGLXcbKHR set(int type, long next, long connection, int screenNumber, int fbconfigid, int visualid, int glxDrawable, int glxContext)

Initializes this struct with the specified values.

setback to summary
public XrGraphicsBindingOpenGLXcbKHR set(XrGraphicsBindingOpenGLXcbKHR src)

Copies the specified struct data to this struct.

Parameters
src:XrGraphicsBindingOpenGLXcbKHR

the source struct

Returns:XrGraphicsBindingOpenGLXcbKHR

this struct

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
typeback to summary
public int type()

the XrStructureType of this structure.

Annotations
@NativeType:XrStructureType
typeback to summary
public XrGraphicsBindingOpenGLXcbKHR type(int value)

Sets the specified value to the type field.

type$Defaultback to summary
public XrGraphicsBindingOpenGLXcbKHR type$Default()

Sets the TYPE_GRAPHICS_BINDING_OPENGL_XCB_KHR value to the type field.

validateback to summary
public static void validate(long struct)

Validates pointer members that should not be NULL.

Parameters
struct:long

the struct to validate

visualidback to summary
public int visualid()

a valid XCB OpenGL GLX xcb_visualid_t.

Annotations
@NativeType:xcb_visualid_t
visualidback to summary
public XrGraphicsBindingOpenGLXcbKHR visualid(int value)

Sets the specified value to the visualid field.

org.lwjgl.openxr back to summary

public Class XrGraphicsBindingOpenGLXcbKHR.Buffer

extends StructBuffer<XrGraphicsBindingOpenGLXcbKHR, XrGraphicsBindingOpenGLXcbKHR.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of XrGraphicsBindingOpenGLXcbKHR structs.

Field Summary

Modifier and TypeField and Description
private static final XrGraphicsBindingOpenGLXcbKHR

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new XrGraphicsBindingOpenGLXcbKHR.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 XrGraphicsBindingOpenGLXcbKHR#connection field.
connection
()

public XrGraphicsBindingOpenGLXcbKHR.Buffer
connection(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#connection field.

public int

Returns:

the value of the XrGraphicsBindingOpenGLXcbKHR#fbconfigid field.
fbconfigid
()

public XrGraphicsBindingOpenGLXcbKHR.Buffer
fbconfigid(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#fbconfigid field.

protected XrGraphicsBindingOpenGLXcbKHR
public int

Returns:

the value of the XrGraphicsBindingOpenGLXcbKHR#glxContext field.
glxContext
()

public XrGraphicsBindingOpenGLXcbKHR.Buffer
glxContext(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#glxContext field.

public int

Returns:

the value of the XrGraphicsBindingOpenGLXcbKHR#glxDrawable field.
glxDrawable
()

public XrGraphicsBindingOpenGLXcbKHR.Buffer
glxDrawable(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#glxDrawable field.

public long

Returns:

the value of the XrGraphicsBindingOpenGLXcbKHR#next field.
next
()

public XrGraphicsBindingOpenGLXcbKHR.Buffer
next(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#next field.

public int

Returns:

the value of the XrGraphicsBindingOpenGLXcbKHR#screenNumber field.
screenNumber
()

public XrGraphicsBindingOpenGLXcbKHR.Buffer
screenNumber(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#screenNumber field.

protected XrGraphicsBindingOpenGLXcbKHR.Buffer
public int

Returns:

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

public XrGraphicsBindingOpenGLXcbKHR.Buffer
type(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#type field.

public XrGraphicsBindingOpenGLXcbKHR.Buffer
public int

Returns:

the value of the XrGraphicsBindingOpenGLXcbKHR#visualid field.
visualid
()

public XrGraphicsBindingOpenGLXcbKHR.Buffer
visualid(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#visualid field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final XrGraphicsBindingOpenGLXcbKHR ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new XrGraphicsBindingOpenGLXcbKHR.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 XrGraphicsBindingOpenGLXcbKHR#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

connectionback to summary
public long connection()
Returns:long

the value of the XrGraphicsBindingOpenGLXcbKHR#connection field.

Annotations
@NativeType:xcb_connection_t *
connectionback to summary
public XrGraphicsBindingOpenGLXcbKHR.Buffer connection(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#connection field.

fbconfigidback to summary
public int fbconfigid()
Returns:int

the value of the XrGraphicsBindingOpenGLXcbKHR#fbconfigid field.

Annotations
@NativeType:xcb_glx_fbconfig_t
fbconfigidback to summary
public XrGraphicsBindingOpenGLXcbKHR.Buffer fbconfigid(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#fbconfigid field.

getElementFactoryback to summary
protected XrGraphicsBindingOpenGLXcbKHR getElementFactory()

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

Annotations
@Override
glxContextback to summary
public int glxContext()
Returns:int

the value of the XrGraphicsBindingOpenGLXcbKHR#glxContext field.

Annotations
@NativeType:xcb_glx_context_t
glxContextback to summary
public XrGraphicsBindingOpenGLXcbKHR.Buffer glxContext(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#glxContext field.

glxDrawableback to summary
public int glxDrawable()
Returns:int

the value of the XrGraphicsBindingOpenGLXcbKHR#glxDrawable field.

Annotations
@NativeType:xcb_glx_drawable_t
glxDrawableback to summary
public XrGraphicsBindingOpenGLXcbKHR.Buffer glxDrawable(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#glxDrawable field.

nextback to summary
public long next()
Returns:long

the value of the XrGraphicsBindingOpenGLXcbKHR#next field.

Annotations
@NativeType:void const *
nextback to summary
public XrGraphicsBindingOpenGLXcbKHR.Buffer next(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#next field.

screenNumberback to summary
public int screenNumber()
Returns:int

the value of the XrGraphicsBindingOpenGLXcbKHR#screenNumber field.

Annotations
@NativeType:uint32_t
screenNumberback to summary
public XrGraphicsBindingOpenGLXcbKHR.Buffer screenNumber(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#screenNumber field.

selfback to summary
protected XrGraphicsBindingOpenGLXcbKHR.Buffer self()

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

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

the value of the XrGraphicsBindingOpenGLXcbKHR#type field.

Annotations
@NativeType:XrStructureType
typeback to summary
public XrGraphicsBindingOpenGLXcbKHR.Buffer type(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#type field.

type$Defaultback to summary
public XrGraphicsBindingOpenGLXcbKHR.Buffer type$Default()

Sets the TYPE_GRAPHICS_BINDING_OPENGL_XCB_KHR value to the XrGraphicsBindingOpenGLXcbKHR#type field.

visualidback to summary
public int visualid()
Returns:int

the value of the XrGraphicsBindingOpenGLXcbKHR#visualid field.

Annotations
@NativeType:xcb_visualid_t
visualidback to summary
public XrGraphicsBindingOpenGLXcbKHR.Buffer visualid(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXcbKHR#visualid field.