Package org.lwjgl.openxr
Class XrGraphicsBindingOpenGLXcbKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrGraphicsBindingOpenGLXcbKHR,XrGraphicsBindingOpenGLXcbKHR.Buffer>
-
- org.lwjgl.openxr.XrGraphicsBindingOpenGLXcbKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrGraphicsBindingOpenGLXcbKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrGraphicsBindingOpenGLXcbKHR
public static class XrGraphicsBindingOpenGLXcbKHR.Buffer extends org.lwjgl.system.StructBuffer<XrGraphicsBindingOpenGLXcbKHR,XrGraphicsBindingOpenGLXcbKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrGraphicsBindingOpenGLXcbKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrGraphicsBindingOpenGLXcbKHR.Bufferinstance 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 byXrGraphicsBindingOpenGLXcbKHR.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
type
public int type()
- Returns:
- the value of the
XrGraphicsBindingOpenGLXcbKHR.type()field.
-
next
public long next()
- Returns:
- the value of the
XrGraphicsBindingOpenGLXcbKHR.next()field.
-
connection
public long connection()
- Returns:
- the value of the
XrGraphicsBindingOpenGLXcbKHR.connection()field.
-
screenNumber
public int screenNumber()
- Returns:
- the value of the
XrGraphicsBindingOpenGLXcbKHR.screenNumber()field.
-
fbconfigid
public int fbconfigid()
- Returns:
- the value of the
XrGraphicsBindingOpenGLXcbKHR.fbconfigid()field.
-
visualid
public int visualid()
- Returns:
- the value of the
XrGraphicsBindingOpenGLXcbKHR.visualid()field.
-
glxDrawable
public int glxDrawable()
- Returns:
- the value of the
XrGraphicsBindingOpenGLXcbKHR.glxDrawable()field.
-
glxContext
public int glxContext()
- Returns:
- the value of the
XrGraphicsBindingOpenGLXcbKHR.glxContext()field.
-
type
public XrGraphicsBindingOpenGLXcbKHR.Buffer type(int value)
Sets the specified value to theXrGraphicsBindingOpenGLXcbKHR.type()field.
-
type$Default
public XrGraphicsBindingOpenGLXcbKHR.Buffer type$Default()
Sets theTYPE_GRAPHICS_BINDING_OPENGL_XCB_KHRvalue to theXrGraphicsBindingOpenGLXcbKHR.type()field.
-
next
public XrGraphicsBindingOpenGLXcbKHR.Buffer next(long value)
Sets the specified value to theXrGraphicsBindingOpenGLXcbKHR.next()field.
-
connection
public XrGraphicsBindingOpenGLXcbKHR.Buffer connection(long value)
Sets the specified value to theXrGraphicsBindingOpenGLXcbKHR.connection()field.
-
screenNumber
public XrGraphicsBindingOpenGLXcbKHR.Buffer screenNumber(int value)
Sets the specified value to theXrGraphicsBindingOpenGLXcbKHR.screenNumber()field.
-
fbconfigid
public XrGraphicsBindingOpenGLXcbKHR.Buffer fbconfigid(int value)
Sets the specified value to theXrGraphicsBindingOpenGLXcbKHR.fbconfigid()field.
-
visualid
public XrGraphicsBindingOpenGLXcbKHR.Buffer visualid(int value)
Sets the specified value to theXrGraphicsBindingOpenGLXcbKHR.visualid()field.
-
glxDrawable
public XrGraphicsBindingOpenGLXcbKHR.Buffer glxDrawable(int value)
Sets the specified value to theXrGraphicsBindingOpenGLXcbKHR.glxDrawable()field.
-
glxContext
public XrGraphicsBindingOpenGLXcbKHR.Buffer glxContext(int value)
Sets the specified value to theXrGraphicsBindingOpenGLXcbKHR.glxContext()field.
-
-