Package org.lwjgl.openxr
Class XrActionSetCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrActionSetCreateInfo,XrActionSetCreateInfo.Buffer>
-
- org.lwjgl.openxr.XrActionSetCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrActionSetCreateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrActionSetCreateInfo
public static class XrActionSetCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<XrActionSetCreateInfo,XrActionSetCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrActionSetCreateInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrActionSetCreateInfo.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 byXrActionSetCreateInfo.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
XrActionSetCreateInfo.type()field.
-
next
public long next()
- Returns:
- the value of the
XrActionSetCreateInfo.next()field.
-
actionSetName
public java.nio.ByteBuffer actionSetName()
- Returns:
- a
ByteBufferview of theXrActionSetCreateInfo.actionSetName()field.
-
actionSetNameString
public java.lang.String actionSetNameString()
- Returns:
- the null-terminated string stored in the
XrActionSetCreateInfo.actionSetName()field.
-
localizedActionSetName
public java.nio.ByteBuffer localizedActionSetName()
- Returns:
- a
ByteBufferview of theXrActionSetCreateInfo.localizedActionSetName()field.
-
localizedActionSetNameString
public java.lang.String localizedActionSetNameString()
- Returns:
- the null-terminated string stored in the
XrActionSetCreateInfo.localizedActionSetName()field.
-
priority
public int priority()
- Returns:
- the value of the
XrActionSetCreateInfo.priority()field.
-
type
public XrActionSetCreateInfo.Buffer type(int value)
Sets the specified value to theXrActionSetCreateInfo.type()field.
-
type$Default
public XrActionSetCreateInfo.Buffer type$Default()
Sets theTYPE_ACTION_SET_CREATE_INFOvalue to theXrActionSetCreateInfo.type()field.
-
next
public XrActionSetCreateInfo.Buffer next(long value)
Sets the specified value to theXrActionSetCreateInfo.next()field.
-
actionSetName
public XrActionSetCreateInfo.Buffer actionSetName(java.nio.ByteBuffer value)
Copies the specified encoded string to theXrActionSetCreateInfo.actionSetName()field.
-
localizedActionSetName
public XrActionSetCreateInfo.Buffer localizedActionSetName(java.nio.ByteBuffer value)
Copies the specified encoded string to theXrActionSetCreateInfo.localizedActionSetName()field.
-
priority
public XrActionSetCreateInfo.Buffer priority(int value)
Sets the specified value to theXrActionSetCreateInfo.priority()field.
-
-