Package org.lwjgl.openxr
Class XrInstanceProperties.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrInstanceProperties,XrInstanceProperties.Buffer>
-
- org.lwjgl.openxr.XrInstanceProperties.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrInstanceProperties>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrInstanceProperties
public static class XrInstanceProperties.Buffer extends org.lwjgl.system.StructBuffer<XrInstanceProperties,XrInstanceProperties.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrInstancePropertiesstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longnext()XrInstanceProperties.Buffernext(long value)Sets the specified value to theXrInstanceProperties.next()field.java.nio.ByteBufferruntimeName()java.lang.StringruntimeNameString()longruntimeVersion()inttype()XrInstanceProperties.Buffertype(int value)Sets the specified value to theXrInstanceProperties.type()field.XrInstanceProperties.Buffertype$Default()Sets theTYPE_INSTANCE_PROPERTIESvalue to theXrInstanceProperties.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrInstanceProperties.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 byXrInstanceProperties.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
XrInstanceProperties.type()field.
-
next
public long next()
- Returns:
- the value of the
XrInstanceProperties.next()field.
-
runtimeVersion
public long runtimeVersion()
- Returns:
- the value of the
XrInstanceProperties.runtimeVersion()field.
-
runtimeName
public java.nio.ByteBuffer runtimeName()
- Returns:
- a
ByteBufferview of theXrInstanceProperties.runtimeName()field.
-
runtimeNameString
public java.lang.String runtimeNameString()
- Returns:
- the null-terminated string stored in the
XrInstanceProperties.runtimeName()field.
-
type
public XrInstanceProperties.Buffer type(int value)
Sets the specified value to theXrInstanceProperties.type()field.
-
type$Default
public XrInstanceProperties.Buffer type$Default()
Sets theTYPE_INSTANCE_PROPERTIESvalue to theXrInstanceProperties.type()field.
-
next
public XrInstanceProperties.Buffer next(long value)
Sets the specified value to theXrInstanceProperties.next()field.
-
-