Package org.lwjgl.openxr
Class XrApplicationInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrApplicationInfo,XrApplicationInfo.Buffer>
-
- org.lwjgl.openxr.XrApplicationInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrApplicationInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrApplicationInfo
public static class XrApplicationInfo.Buffer extends org.lwjgl.system.StructBuffer<XrApplicationInfo,XrApplicationInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrApplicationInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longapiVersion()XrApplicationInfo.BufferapiVersion(long value)Sets the specified value to theXrApplicationInfo.apiVersion()field.java.nio.ByteBufferapplicationName()XrApplicationInfo.BufferapplicationName(java.nio.ByteBuffer value)Copies the specified encoded string to theXrApplicationInfo.applicationName()field.java.lang.StringapplicationNameString()intapplicationVersion()XrApplicationInfo.BufferapplicationVersion(int value)Sets the specified value to theXrApplicationInfo.applicationVersion()field.java.nio.ByteBufferengineName()XrApplicationInfo.BufferengineName(java.nio.ByteBuffer value)Copies the specified encoded string to theXrApplicationInfo.engineName()field.java.lang.StringengineNameString()intengineVersion()XrApplicationInfo.BufferengineVersion(int value)Sets the specified value to theXrApplicationInfo.engineVersion()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrApplicationInfo.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 byXrApplicationInfo.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
-
applicationName
public java.nio.ByteBuffer applicationName()
- Returns:
- a
ByteBufferview of theXrApplicationInfo.applicationName()field.
-
applicationNameString
public java.lang.String applicationNameString()
- Returns:
- the null-terminated string stored in the
XrApplicationInfo.applicationName()field.
-
applicationVersion
public int applicationVersion()
- Returns:
- the value of the
XrApplicationInfo.applicationVersion()field.
-
engineName
public java.nio.ByteBuffer engineName()
- Returns:
- a
ByteBufferview of theXrApplicationInfo.engineName()field.
-
engineNameString
public java.lang.String engineNameString()
- Returns:
- the null-terminated string stored in the
XrApplicationInfo.engineName()field.
-
engineVersion
public int engineVersion()
- Returns:
- the value of the
XrApplicationInfo.engineVersion()field.
-
apiVersion
public long apiVersion()
- Returns:
- the value of the
XrApplicationInfo.apiVersion()field.
-
applicationName
public XrApplicationInfo.Buffer applicationName(java.nio.ByteBuffer value)
Copies the specified encoded string to theXrApplicationInfo.applicationName()field.
-
applicationVersion
public XrApplicationInfo.Buffer applicationVersion(int value)
Sets the specified value to theXrApplicationInfo.applicationVersion()field.
-
engineName
public XrApplicationInfo.Buffer engineName(java.nio.ByteBuffer value)
Copies the specified encoded string to theXrApplicationInfo.engineName()field.
-
engineVersion
public XrApplicationInfo.Buffer engineVersion(int value)
Sets the specified value to theXrApplicationInfo.engineVersion()field.
-
apiVersion
public XrApplicationInfo.Buffer apiVersion(long value)
Sets the specified value to theXrApplicationInfo.apiVersion()field.
-
-