Package org.lwjgl.openxr
Class XrInteractionProfileAnalogThresholdVALVE.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrInteractionProfileAnalogThresholdVALVE,XrInteractionProfileAnalogThresholdVALVE.Buffer>
-
- org.lwjgl.openxr.XrInteractionProfileAnalogThresholdVALVE.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrInteractionProfileAnalogThresholdVALVE>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrInteractionProfileAnalogThresholdVALVE
public static class XrInteractionProfileAnalogThresholdVALVE.Buffer extends org.lwjgl.system.StructBuffer<XrInteractionProfileAnalogThresholdVALVE,XrInteractionProfileAnalogThresholdVALVE.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrInteractionProfileAnalogThresholdVALVEstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrInteractionProfileAnalogThresholdVALVE.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 byXrInteractionProfileAnalogThresholdVALVE.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
XrInteractionProfileAnalogThresholdVALVE.type()field.
-
next
public long next()
- Returns:
- the value of the
XrInteractionProfileAnalogThresholdVALVE.next()field.
-
action
public long action()
- Returns:
- the value of the
XrInteractionProfileAnalogThresholdVALVE.action()field.
-
binding
public long binding()
- Returns:
- the value of the
XrInteractionProfileAnalogThresholdVALVE.binding()field.
-
onThreshold
public float onThreshold()
- Returns:
- the value of the
XrInteractionProfileAnalogThresholdVALVE.onThreshold()field.
-
offThreshold
public float offThreshold()
- Returns:
- the value of the
XrInteractionProfileAnalogThresholdVALVE.offThreshold()field.
-
onHaptic
@Nullable public XrHapticBaseHeader onHaptic()
- Returns:
- a
XrHapticBaseHeaderview of the struct pointed to by theXrInteractionProfileAnalogThresholdVALVE.onHaptic()field.
-
offHaptic
@Nullable public XrHapticBaseHeader offHaptic()
- Returns:
- a
XrHapticBaseHeaderview of the struct pointed to by theXrInteractionProfileAnalogThresholdVALVE.offHaptic()field.
-
type
public XrInteractionProfileAnalogThresholdVALVE.Buffer type(int value)
Sets the specified value to theXrInteractionProfileAnalogThresholdVALVE.type()field.
-
type$Default
public XrInteractionProfileAnalogThresholdVALVE.Buffer type$Default()
Sets theTYPE_INTERACTION_PROFILE_ANALOG_THRESHOLD_VALVEvalue to theXrInteractionProfileAnalogThresholdVALVE.type()field.
-
next
public XrInteractionProfileAnalogThresholdVALVE.Buffer next(long value)
Sets the specified value to theXrInteractionProfileAnalogThresholdVALVE.next()field.
-
action
public XrInteractionProfileAnalogThresholdVALVE.Buffer action(XrAction value)
Sets the specified value to theXrInteractionProfileAnalogThresholdVALVE.action()field.
-
binding
public XrInteractionProfileAnalogThresholdVALVE.Buffer binding(long value)
Sets the specified value to theXrInteractionProfileAnalogThresholdVALVE.binding()field.
-
onThreshold
public XrInteractionProfileAnalogThresholdVALVE.Buffer onThreshold(float value)
Sets the specified value to theXrInteractionProfileAnalogThresholdVALVE.onThreshold()field.
-
offThreshold
public XrInteractionProfileAnalogThresholdVALVE.Buffer offThreshold(float value)
Sets the specified value to theXrInteractionProfileAnalogThresholdVALVE.offThreshold()field.
-
onHaptic
public XrInteractionProfileAnalogThresholdVALVE.Buffer onHaptic(@Nullable XrHapticBaseHeader value)
Sets the address of the specifiedXrHapticBaseHeaderto theXrInteractionProfileAnalogThresholdVALVE.onHaptic()field.
-
offHaptic
public XrInteractionProfileAnalogThresholdVALVE.Buffer offHaptic(@Nullable XrHapticBaseHeader value)
Sets the address of the specifiedXrHapticBaseHeaderto theXrInteractionProfileAnalogThresholdVALVE.offHaptic()field.
-
-