Package org.lwjgl.openxr
Class XrActionsSyncInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrActionsSyncInfo,XrActionsSyncInfo.Buffer>
-
- org.lwjgl.openxr.XrActionsSyncInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrActionsSyncInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrActionsSyncInfo
public static class XrActionsSyncInfo.Buffer extends org.lwjgl.system.StructBuffer<XrActionsSyncInfo,XrActionsSyncInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrActionsSyncInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XrActiveActionSet.BufferactiveActionSets()XrActionsSyncInfo.BufferactiveActionSets(XrActiveActionSet.Buffer value)Sets the address of the specifiedXrActiveActionSet.Bufferto theXrActionsSyncInfo.activeActionSets()field.intcountActiveActionSets()XrActionsSyncInfo.BuffercountActiveActionSets(int value)Sets the specified value to theXrActionsSyncInfo.countActiveActionSets()field.longnext()XrActionsSyncInfo.Buffernext(long value)Sets the specified value to theXrActionsSyncInfo.next()field.inttype()XrActionsSyncInfo.Buffertype(int value)Sets the specified value to theXrActionsSyncInfo.type()field.XrActionsSyncInfo.Buffertype$Default()Sets theTYPE_ACTIONS_SYNC_INFOvalue to theXrActionsSyncInfo.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrActionsSyncInfo.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 byXrActionsSyncInfo.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
XrActionsSyncInfo.type()field.
-
next
public long next()
- Returns:
- the value of the
XrActionsSyncInfo.next()field.
-
countActiveActionSets
public int countActiveActionSets()
- Returns:
- the value of the
XrActionsSyncInfo.countActiveActionSets()field.
-
activeActionSets
@Nullable public XrActiveActionSet.Buffer activeActionSets()
- Returns:
- a
XrActiveActionSet.Bufferview of the struct array pointed to by theXrActionsSyncInfo.activeActionSets()field.
-
type
public XrActionsSyncInfo.Buffer type(int value)
Sets the specified value to theXrActionsSyncInfo.type()field.
-
type$Default
public XrActionsSyncInfo.Buffer type$Default()
Sets theTYPE_ACTIONS_SYNC_INFOvalue to theXrActionsSyncInfo.type()field.
-
next
public XrActionsSyncInfo.Buffer next(long value)
Sets the specified value to theXrActionsSyncInfo.next()field.
-
countActiveActionSets
public XrActionsSyncInfo.Buffer countActiveActionSets(int value)
Sets the specified value to theXrActionsSyncInfo.countActiveActionSets()field.
-
activeActionSets
public XrActionsSyncInfo.Buffer activeActionSets(@Nullable XrActiveActionSet.Buffer value)
Sets the address of the specifiedXrActiveActionSet.Bufferto theXrActionsSyncInfo.activeActionSets()field.
-
-