Package org.lwjgl.openxr
Class XrHapticActionInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrHapticActionInfo,XrHapticActionInfo.Buffer>
-
- org.lwjgl.openxr.XrHapticActionInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrHapticActionInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrHapticActionInfo
public static class XrHapticActionInfo.Buffer extends org.lwjgl.system.StructBuffer<XrHapticActionInfo,XrHapticActionInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrHapticActionInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longaction()XrHapticActionInfo.Bufferaction(XrAction value)Sets the specified value to theXrHapticActionInfo.action()field.longnext()XrHapticActionInfo.Buffernext(long value)Sets the specified value to theXrHapticActionInfo.next()field.longsubactionPath()XrHapticActionInfo.BuffersubactionPath(long value)Sets the specified value to theXrHapticActionInfo.subactionPath()field.inttype()XrHapticActionInfo.Buffertype(int value)Sets the specified value to theXrHapticActionInfo.type()field.XrHapticActionInfo.Buffertype$Default()Sets theTYPE_HAPTIC_ACTION_INFOvalue to theXrHapticActionInfo.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrHapticActionInfo.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 byXrHapticActionInfo.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
XrHapticActionInfo.type()field.
-
next
public long next()
- Returns:
- the value of the
XrHapticActionInfo.next()field.
-
action
public long action()
- Returns:
- the value of the
XrHapticActionInfo.action()field.
-
subactionPath
public long subactionPath()
- Returns:
- the value of the
XrHapticActionInfo.subactionPath()field.
-
type
public XrHapticActionInfo.Buffer type(int value)
Sets the specified value to theXrHapticActionInfo.type()field.
-
type$Default
public XrHapticActionInfo.Buffer type$Default()
Sets theTYPE_HAPTIC_ACTION_INFOvalue to theXrHapticActionInfo.type()field.
-
next
public XrHapticActionInfo.Buffer next(long value)
Sets the specified value to theXrHapticActionInfo.next()field.
-
action
public XrHapticActionInfo.Buffer action(XrAction value)
Sets the specified value to theXrHapticActionInfo.action()field.
-
subactionPath
public XrHapticActionInfo.Buffer subactionPath(long value)
Sets the specified value to theXrHapticActionInfo.subactionPath()field.
-
-