Package org.lwjgl.openxr
Class XrActionCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrActionCreateInfo,XrActionCreateInfo.Buffer>
-
- org.lwjgl.openxr.XrActionCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrActionCreateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrActionCreateInfo
public static class XrActionCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<XrActionCreateInfo,XrActionCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrActionCreateInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrActionCreateInfo.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 byXrActionCreateInfo.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
XrActionCreateInfo.type()field.
-
next
public long next()
- Returns:
- the value of the
XrActionCreateInfo.next()field.
-
actionName
public java.nio.ByteBuffer actionName()
- Returns:
- a
ByteBufferview of theXrActionCreateInfo.actionName()field.
-
actionNameString
public java.lang.String actionNameString()
- Returns:
- the null-terminated string stored in the
XrActionCreateInfo.actionName()field.
-
actionType
public int actionType()
- Returns:
- the value of the
XrActionCreateInfo.actionType()field.
-
countSubactionPaths
public int countSubactionPaths()
- Returns:
- the value of the
XrActionCreateInfo.countSubactionPaths()field.
-
subactionPaths
@Nullable public java.nio.LongBuffer subactionPaths()
- Returns:
- a
LongBufferview of the data pointed to by theXrActionCreateInfo.subactionPaths()field.
-
localizedActionName
public java.nio.ByteBuffer localizedActionName()
- Returns:
- a
ByteBufferview of theXrActionCreateInfo.localizedActionName()field.
-
localizedActionNameString
public java.lang.String localizedActionNameString()
- Returns:
- the null-terminated string stored in the
XrActionCreateInfo.localizedActionName()field.
-
type
public XrActionCreateInfo.Buffer type(int value)
Sets the specified value to theXrActionCreateInfo.type()field.
-
type$Default
public XrActionCreateInfo.Buffer type$Default()
Sets theTYPE_ACTION_CREATE_INFOvalue to theXrActionCreateInfo.type()field.
-
next
public XrActionCreateInfo.Buffer next(long value)
Sets the specified value to theXrActionCreateInfo.next()field.
-
actionName
public XrActionCreateInfo.Buffer actionName(java.nio.ByteBuffer value)
Copies the specified encoded string to theXrActionCreateInfo.actionName()field.
-
actionType
public XrActionCreateInfo.Buffer actionType(int value)
Sets the specified value to theXrActionCreateInfo.actionType()field.
-
countSubactionPaths
public XrActionCreateInfo.Buffer countSubactionPaths(int value)
Sets the specified value to theXrActionCreateInfo.countSubactionPaths()field.
-
subactionPaths
public XrActionCreateInfo.Buffer subactionPaths(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto theXrActionCreateInfo.subactionPaths()field.
-
localizedActionName
public XrActionCreateInfo.Buffer localizedActionName(java.nio.ByteBuffer value)
Copies the specified encoded string to theXrActionCreateInfo.localizedActionName()field.
-
-