Package org.lwjgl.openxr
Class XrSessionCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSessionCreateInfo,XrSessionCreateInfo.Buffer>
-
- org.lwjgl.openxr.XrSessionCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSessionCreateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSessionCreateInfo
public static class XrSessionCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<XrSessionCreateInfo,XrSessionCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSessionCreateInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSessionCreateInfo.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 byXrSessionCreateInfo.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
XrSessionCreateInfo.type()field.
-
next
public long next()
- Returns:
- the value of the
XrSessionCreateInfo.next()field.
-
createFlags
public long createFlags()
- Returns:
- the value of the
XrSessionCreateInfo.createFlags()field.
-
systemId
public long systemId()
- Returns:
- the value of the
XrSessionCreateInfo.systemId()field.
-
type
public XrSessionCreateInfo.Buffer type(int value)
Sets the specified value to theXrSessionCreateInfo.type()field.
-
type$Default
public XrSessionCreateInfo.Buffer type$Default()
Sets theTYPE_SESSION_CREATE_INFOvalue to theXrSessionCreateInfo.type()field.
-
next
public XrSessionCreateInfo.Buffer next(long value)
Sets the specified value to theXrSessionCreateInfo.next()field.
-
next
public XrSessionCreateInfo.Buffer next(XrGraphicsBindingEGLMNDX value)
Prepends the specifiedXrGraphicsBindingEGLMNDXvalue to thenextchain.
-
next
public XrSessionCreateInfo.Buffer next(XrGraphicsBindingOpenGLWaylandKHR value)
Prepends the specifiedXrGraphicsBindingOpenGLWaylandKHRvalue to thenextchain.
-
next
public XrSessionCreateInfo.Buffer next(XrGraphicsBindingOpenGLWin32KHR value)
Prepends the specifiedXrGraphicsBindingOpenGLWin32KHRvalue to thenextchain.
-
next
public XrSessionCreateInfo.Buffer next(XrGraphicsBindingOpenGLXcbKHR value)
Prepends the specifiedXrGraphicsBindingOpenGLXcbKHRvalue to thenextchain.
-
next
public XrSessionCreateInfo.Buffer next(XrGraphicsBindingOpenGLXlibKHR value)
Prepends the specifiedXrGraphicsBindingOpenGLXlibKHRvalue to thenextchain.
-
next
public XrSessionCreateInfo.Buffer next(XrGraphicsBindingVulkan2KHR value)
Prepends the specifiedXrGraphicsBindingVulkan2KHRvalue to thenextchain.
-
next
public XrSessionCreateInfo.Buffer next(XrGraphicsBindingVulkanKHR value)
Prepends the specifiedXrGraphicsBindingVulkanKHRvalue to thenextchain.
-
next
public XrSessionCreateInfo.Buffer next(XrHolographicWindowAttachmentMSFT value)
Prepends the specifiedXrHolographicWindowAttachmentMSFTvalue to thenextchain.
-
next
public XrSessionCreateInfo.Buffer next(XrSessionCreateInfoOverlayEXTX value)
Prepends the specifiedXrSessionCreateInfoOverlayEXTXvalue to thenextchain.
-
createFlags
public XrSessionCreateInfo.Buffer createFlags(long value)
Sets the specified value to theXrSessionCreateInfo.createFlags()field.
-
systemId
public XrSessionCreateInfo.Buffer systemId(long value)
Sets the specified value to theXrSessionCreateInfo.systemId()field.
-
-