Package org.lwjgl.openxr
Class XrPassthroughKeyboardHandsIntensityFB.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrPassthroughKeyboardHandsIntensityFB,XrPassthroughKeyboardHandsIntensityFB.Buffer>
-
- org.lwjgl.openxr.XrPassthroughKeyboardHandsIntensityFB.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrPassthroughKeyboardHandsIntensityFB>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrPassthroughKeyboardHandsIntensityFB
public static class XrPassthroughKeyboardHandsIntensityFB.Buffer extends org.lwjgl.system.StructBuffer<XrPassthroughKeyboardHandsIntensityFB,XrPassthroughKeyboardHandsIntensityFB.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrPassthroughKeyboardHandsIntensityFBstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatleftHandIntensity()XrPassthroughKeyboardHandsIntensityFB.BufferleftHandIntensity(float value)Sets the specified value to theXrPassthroughKeyboardHandsIntensityFB.leftHandIntensity()field.longnext()XrPassthroughKeyboardHandsIntensityFB.Buffernext(long value)Sets the specified value to theXrPassthroughKeyboardHandsIntensityFB.next()field.floatrightHandIntensity()XrPassthroughKeyboardHandsIntensityFB.BufferrightHandIntensity(float value)Sets the specified value to theXrPassthroughKeyboardHandsIntensityFB.rightHandIntensity()field.inttype()XrPassthroughKeyboardHandsIntensityFB.Buffertype(int value)Sets the specified value to theXrPassthroughKeyboardHandsIntensityFB.type()field.XrPassthroughKeyboardHandsIntensityFB.Buffertype$Default()Sets theTYPE_PASSTHROUGH_KEYBOARD_HANDS_INTENSITY_FBvalue to theXrPassthroughKeyboardHandsIntensityFB.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrPassthroughKeyboardHandsIntensityFB.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 byXrPassthroughKeyboardHandsIntensityFB.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
XrPassthroughKeyboardHandsIntensityFB.type()field.
-
next
public long next()
- Returns:
- the value of the
XrPassthroughKeyboardHandsIntensityFB.next()field.
-
leftHandIntensity
public float leftHandIntensity()
- Returns:
- the value of the
XrPassthroughKeyboardHandsIntensityFB.leftHandIntensity()field.
-
rightHandIntensity
public float rightHandIntensity()
- Returns:
- the value of the
XrPassthroughKeyboardHandsIntensityFB.rightHandIntensity()field.
-
type
public XrPassthroughKeyboardHandsIntensityFB.Buffer type(int value)
Sets the specified value to theXrPassthroughKeyboardHandsIntensityFB.type()field.
-
type$Default
public XrPassthroughKeyboardHandsIntensityFB.Buffer type$Default()
Sets theTYPE_PASSTHROUGH_KEYBOARD_HANDS_INTENSITY_FBvalue to theXrPassthroughKeyboardHandsIntensityFB.type()field.
-
next
public XrPassthroughKeyboardHandsIntensityFB.Buffer next(long value)
Sets the specified value to theXrPassthroughKeyboardHandsIntensityFB.next()field.
-
leftHandIntensity
public XrPassthroughKeyboardHandsIntensityFB.Buffer leftHandIntensity(float value)
Sets the specified value to theXrPassthroughKeyboardHandsIntensityFB.leftHandIntensity()field.
-
rightHandIntensity
public XrPassthroughKeyboardHandsIntensityFB.Buffer rightHandIntensity(float value)
Sets the specified value to theXrPassthroughKeyboardHandsIntensityFB.rightHandIntensity()field.
-
-