Top Description Inners Fields Constructors Methods
org.lwjgl.openxr

public Class XrGraphicsBindingOpenGLXlibKHR

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

The graphics binding structure to be passed at session creation to use OpenGL on X11 via Xlib.
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 XrGraphicsBindingOpenGLXlibKHR in the next chain of the XrSessionCreateInfo.

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

Valid Usage (Implicit)
See Also

CreateSession

Layout


struct XrGraphicsBindingOpenGLXlibKHR {
    XrStructureType type;
    void const * next;
    Display * xDisplay;
    uint32_t visualid;
    GLXFBConfig glxFBConfig;
    GLXDrawable glxDrawable;
    GLXContext 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
GLXCONTEXT

The struct member offsets.

public static final int
GLXDRAWABLE

The struct member offsets.

public static final int
GLXFBCONFIG

The struct member offsets.

public static final int
NEXT

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.

public static final int
XDISPLAY

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

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

public
XrGraphicsBindingOpenGLXlibKHR(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static XrGraphicsBindingOpenGLXlibKHR
calloc()

Returns a new XrGraphicsBindingOpenGLXlibKHR instance allocated with memCalloc.

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

Returns a new XrGraphicsBindingOpenGLXlibKHR.Buffer instance allocated with memCalloc.

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

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

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

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

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

Returns a new XrGraphicsBindingOpenGLXlibKHR instance allocated with BufferUtils.

public static XrGraphicsBindingOpenGLXlibKHR
create(long address)

Returns a new XrGraphicsBindingOpenGLXlibKHR instance for the specified memory address.

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

Returns a new XrGraphicsBindingOpenGLXlibKHR.Buffer instance allocated with BufferUtils.

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

Create a XrGraphicsBindingOpenGLXlibKHR.Buffer instance at the specified memory.

public static XrGraphicsBindingOpenGLXlibKHR
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public long
glxContext()

a valid X11 OpenGL GLX GLXContext.

public XrGraphicsBindingOpenGLXlibKHR
glxContext(long value)

Sets the specified value to the glxContext field.

public long
glxDrawable()

a valid X11 OpenGL GLX GLXDrawable.

public XrGraphicsBindingOpenGLXlibKHR
glxDrawable(long value)

Sets the specified value to the glxDrawable field.

public long
glxFBConfig()

a valid X11 OpenGL GLX GLXFBConfig.

public XrGraphicsBindingOpenGLXlibKHR
glxFBConfig(long value)

Sets the specified value to the glxFBConfig field.

public static XrGraphicsBindingOpenGLXlibKHR
malloc()

Returns a new XrGraphicsBindingOpenGLXlibKHR instance allocated with memAlloc.

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

Returns a new XrGraphicsBindingOpenGLXlibKHR.Buffer instance allocated with memAlloc.

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

Returns a new XrGraphicsBindingOpenGLXlibKHR instance allocated on the specified MemoryStack.

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

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

public long
next()

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

public XrGraphicsBindingOpenGLXlibKHR
next(long value)

Sets the specified value to the next field.

public static long
nglxContext(long struct)

Unsafe version of glxContext.

public static void
nglxContext(long struct, long value)

Unsafe version of glxContext.

public static long
nglxDrawable(long struct)

Unsafe version of glxDrawable.

public static void
nglxDrawable(long struct, long value)

Unsafe version of glxDrawable.

public static long
nglxFBConfig(long struct)

Unsafe version of glxFBConfig.

public static void
nglxFBConfig(long struct, long value)

Unsafe version of glxFBConfig.

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
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 static long
nxDisplay(long struct)

Unsafe version of xDisplay.

public static void
nxDisplay(long struct, long value)

Unsafe version of xDisplay.

public XrGraphicsBindingOpenGLXlibKHR
set(int type, long next, long xDisplay, int visualid, long glxFBConfig, long glxDrawable, long glxContext)

Initializes this struct with the specified values.

public XrGraphicsBindingOpenGLXlibKHR

Returns:

this struct
set
(XrGraphicsBindingOpenGLXlibKHR
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 XrGraphicsBindingOpenGLXlibKHR
type(int value)

Sets the specified value to the type field.

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

Validates pointer members that should not be NULL.

public int
visualid()

a valid X11 visual identifier.

public XrGraphicsBindingOpenGLXlibKHR
visualid(int value)

Sets the specified value to the visualid field.

public long
xDisplay()

a valid X11 Display.

public XrGraphicsBindingOpenGLXlibKHR
xDisplay(long value)

Sets the specified value to the xDisplay 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.

GLXCONTEXTback to summary
public static final int GLXCONTEXT

The struct member offsets.

GLXDRAWABLEback to summary
public static final int GLXDRAWABLE

The struct member offsets.

GLXFBCONFIGback to summary
public static final int GLXFBCONFIG

The struct member offsets.

NEXTback to summary
public static final int NEXT

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.

XDISPLAYback to summary
public static final int XDISPLAY

The struct member offsets.

Constructor Detail

XrGraphicsBindingOpenGLXlibKHRback to summary
protected XrGraphicsBindingOpenGLXlibKHR(long address, ByteBuffer container)
XrGraphicsBindingOpenGLXlibKHRback to summary
public XrGraphicsBindingOpenGLXlibKHR(ByteBuffer container)

Creates a XrGraphicsBindingOpenGLXlibKHR 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 XrGraphicsBindingOpenGLXlibKHR calloc()

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

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

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

Parameters
capacity:int

the buffer capacity

callocback to summary
public static XrGraphicsBindingOpenGLXlibKHR calloc(MemoryStack stack)

Returns a new XrGraphicsBindingOpenGLXlibKHR 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 XrGraphicsBindingOpenGLXlibKHR.Buffer calloc(int capacity, MemoryStack stack)

Returns a new XrGraphicsBindingOpenGLXlibKHR.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

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

Returns a new XrGraphicsBindingOpenGLXlibKHR instance allocated with BufferUtils.

createback to summary
public static XrGraphicsBindingOpenGLXlibKHR create(long address)

Returns a new XrGraphicsBindingOpenGLXlibKHR instance for the specified memory address.

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

Returns a new XrGraphicsBindingOpenGLXlibKHR.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

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

Create a XrGraphicsBindingOpenGLXlibKHR.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static XrGraphicsBindingOpenGLXlibKHR createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

Annotations
@Nullable
glxContextback to summary
public long glxContext()

a valid X11 OpenGL GLX GLXContext.

Annotations
@NativeType:GLXContext
glxContextback to summary
public XrGraphicsBindingOpenGLXlibKHR glxContext(long value)

Sets the specified value to the glxContext field.

glxDrawableback to summary
public long glxDrawable()

a valid X11 OpenGL GLX GLXDrawable.

Annotations
@NativeType:GLXDrawable
glxDrawableback to summary
public XrGraphicsBindingOpenGLXlibKHR glxDrawable(long value)

Sets the specified value to the glxDrawable field.

glxFBConfigback to summary
public long glxFBConfig()

a valid X11 OpenGL GLX GLXFBConfig.

Annotations
@NativeType:GLXFBConfig
glxFBConfigback to summary
public XrGraphicsBindingOpenGLXlibKHR glxFBConfig(long value)

Sets the specified value to the glxFBConfig field.

mallocback to summary
public static XrGraphicsBindingOpenGLXlibKHR malloc()

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

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

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

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static XrGraphicsBindingOpenGLXlibKHR malloc(MemoryStack stack)

Returns a new XrGraphicsBindingOpenGLXlibKHR instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

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

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

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 XrGraphicsBindingOpenGLXlibKHR next(long value)

Sets the specified value to the next field.

nglxContextback to summary
public static long nglxContext(long struct)

Unsafe version of glxContext.

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

Unsafe version of glxContext.

nglxDrawableback to summary
public static long nglxDrawable(long struct)

Unsafe version of glxDrawable.

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

Unsafe version of glxDrawable.

nglxFBConfigback to summary
public static long nglxFBConfig(long struct)

Unsafe version of glxFBConfig.

nglxFBConfigback to summary
public static void nglxFBConfig(long struct, long value)

Unsafe version of glxFBConfig.

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.

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.

nxDisplayback to summary
public static long nxDisplay(long struct)

Unsafe version of xDisplay.

nxDisplayback to summary
public static void nxDisplay(long struct, long value)

Unsafe version of xDisplay.

setback to summary
public XrGraphicsBindingOpenGLXlibKHR set(int type, long next, long xDisplay, int visualid, long glxFBConfig, long glxDrawable, long glxContext)

Initializes this struct with the specified values.

setback to summary
public XrGraphicsBindingOpenGLXlibKHR set(XrGraphicsBindingOpenGLXlibKHR src)

Copies the specified struct data to this struct.

Parameters
src:XrGraphicsBindingOpenGLXlibKHR

the source struct

Returns:XrGraphicsBindingOpenGLXlibKHR

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 XrGraphicsBindingOpenGLXlibKHR type(int value)

Sets the specified value to the type field.

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

Sets the TYPE_GRAPHICS_BINDING_OPENGL_XLIB_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 X11 visual identifier.

Annotations
@NativeType:uint32_t
visualidback to summary
public XrGraphicsBindingOpenGLXlibKHR visualid(int value)

Sets the specified value to the visualid field.

xDisplayback to summary
public long xDisplay()

a valid X11 Display.

Annotations
@NativeType:Display *
xDisplayback to summary
public XrGraphicsBindingOpenGLXlibKHR xDisplay(long value)

Sets the specified value to the xDisplay field.

org.lwjgl.openxr back to summary

public Class XrGraphicsBindingOpenGLXlibKHR.Buffer

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

An array of XrGraphicsBindingOpenGLXlibKHR structs.

Field Summary

Modifier and TypeField and Description
private static final XrGraphicsBindingOpenGLXlibKHR

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new XrGraphicsBindingOpenGLXlibKHR.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
protected XrGraphicsBindingOpenGLXlibKHR
public long

Returns:

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

public XrGraphicsBindingOpenGLXlibKHR.Buffer
glxContext(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#glxContext field.

public long

Returns:

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

public XrGraphicsBindingOpenGLXlibKHR.Buffer
glxDrawable(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#glxDrawable field.

public long

Returns:

the value of the XrGraphicsBindingOpenGLXlibKHR#glxFBConfig field.
glxFBConfig
()

public XrGraphicsBindingOpenGLXlibKHR.Buffer
glxFBConfig(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#glxFBConfig field.

public long

Returns:

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

public XrGraphicsBindingOpenGLXlibKHR.Buffer
next(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#next field.

protected XrGraphicsBindingOpenGLXlibKHR.Buffer
public int

Returns:

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

public XrGraphicsBindingOpenGLXlibKHR.Buffer
type(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#type field.

public XrGraphicsBindingOpenGLXlibKHR.Buffer
public int

Returns:

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

public XrGraphicsBindingOpenGLXlibKHR.Buffer
visualid(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#visualid field.

public long

Returns:

the value of the XrGraphicsBindingOpenGLXlibKHR#xDisplay field.
xDisplay
()

public XrGraphicsBindingOpenGLXlibKHR.Buffer
xDisplay(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#xDisplay field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final XrGraphicsBindingOpenGLXlibKHR ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

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

getElementFactoryback to summary
protected XrGraphicsBindingOpenGLXlibKHR getElementFactory()

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

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

the value of the XrGraphicsBindingOpenGLXlibKHR#glxContext field.

Annotations
@NativeType:GLXContext
glxContextback to summary
public XrGraphicsBindingOpenGLXlibKHR.Buffer glxContext(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#glxContext field.

glxDrawableback to summary
public long glxDrawable()
Returns:long

the value of the XrGraphicsBindingOpenGLXlibKHR#glxDrawable field.

Annotations
@NativeType:GLXDrawable
glxDrawableback to summary
public XrGraphicsBindingOpenGLXlibKHR.Buffer glxDrawable(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#glxDrawable field.

glxFBConfigback to summary
public long glxFBConfig()
Returns:long

the value of the XrGraphicsBindingOpenGLXlibKHR#glxFBConfig field.

Annotations
@NativeType:GLXFBConfig
glxFBConfigback to summary
public XrGraphicsBindingOpenGLXlibKHR.Buffer glxFBConfig(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#glxFBConfig field.

nextback to summary
public long next()
Returns:long

the value of the XrGraphicsBindingOpenGLXlibKHR#next field.

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

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#next field.

selfback to summary
protected XrGraphicsBindingOpenGLXlibKHR.Buffer self()

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

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

the value of the XrGraphicsBindingOpenGLXlibKHR#type field.

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

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#type field.

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

Sets the TYPE_GRAPHICS_BINDING_OPENGL_XLIB_KHR value to the XrGraphicsBindingOpenGLXlibKHR#type field.

visualidback to summary
public int visualid()
Returns:int

the value of the XrGraphicsBindingOpenGLXlibKHR#visualid field.

Annotations
@NativeType:uint32_t
visualidback to summary
public XrGraphicsBindingOpenGLXlibKHR.Buffer visualid(int value)

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#visualid field.

xDisplayback to summary
public long xDisplay()
Returns:long

the value of the XrGraphicsBindingOpenGLXlibKHR#xDisplay field.

Annotations
@NativeType:Display *
xDisplayback to summary
public XrGraphicsBindingOpenGLXlibKHR.Buffer xDisplay(long value)

Sets the specified value to the XrGraphicsBindingOpenGLXlibKHR#xDisplay field.