Package org.lwjgl.openxr
Class XrActionStateBoolean.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrActionStateBoolean,XrActionStateBoolean.Buffer>
-
- org.lwjgl.openxr.XrActionStateBoolean.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrActionStateBoolean>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrActionStateBoolean
public static class XrActionStateBoolean.Buffer extends org.lwjgl.system.StructBuffer<XrActionStateBoolean,XrActionStateBoolean.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrActionStateBooleanstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrActionStateBoolean.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 byXrActionStateBoolean.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
XrActionStateBoolean.type()field.
-
next
public long next()
- Returns:
- the value of the
XrActionStateBoolean.next()field.
-
currentState
public boolean currentState()
- Returns:
- the value of the
XrActionStateBoolean.currentState()field.
-
changedSinceLastSync
public boolean changedSinceLastSync()
- Returns:
- the value of the
XrActionStateBoolean.changedSinceLastSync()field.
-
lastChangeTime
public long lastChangeTime()
- Returns:
- the value of the
XrActionStateBoolean.lastChangeTime()field.
-
isActive
public boolean isActive()
- Returns:
- the value of the
XrActionStateBoolean.isActive()field.
-
type
public XrActionStateBoolean.Buffer type(int value)
Sets the specified value to theXrActionStateBoolean.type()field.
-
type$Default
public XrActionStateBoolean.Buffer type$Default()
Sets theTYPE_ACTION_STATE_BOOLEANvalue to theXrActionStateBoolean.type()field.
-
next
public XrActionStateBoolean.Buffer next(long value)
Sets the specified value to theXrActionStateBoolean.next()field.
-
currentState
public XrActionStateBoolean.Buffer currentState(boolean value)
Sets the specified value to theXrActionStateBoolean.currentState()field.
-
changedSinceLastSync
public XrActionStateBoolean.Buffer changedSinceLastSync(boolean value)
Sets the specified value to theXrActionStateBoolean.changedSinceLastSync()field.
-
lastChangeTime
public XrActionStateBoolean.Buffer lastChangeTime(long value)
Sets the specified value to theXrActionStateBoolean.lastChangeTime()field.
-
isActive
public XrActionStateBoolean.Buffer isActive(boolean value)
Sets the specified value to theXrActionStateBoolean.isActive()field.
-
-