Package org.lwjgl.openxr
Class XrEventDataViveTrackerConnectedHTCX.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrEventDataViveTrackerConnectedHTCX,XrEventDataViveTrackerConnectedHTCX.Buffer>
-
- org.lwjgl.openxr.XrEventDataViveTrackerConnectedHTCX.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrEventDataViveTrackerConnectedHTCX>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrEventDataViveTrackerConnectedHTCX
public static class XrEventDataViveTrackerConnectedHTCX.Buffer extends org.lwjgl.system.StructBuffer<XrEventDataViveTrackerConnectedHTCX,XrEventDataViveTrackerConnectedHTCX.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrEventDataViveTrackerConnectedHTCXstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longnext()XrEventDataViveTrackerConnectedHTCX.Buffernext(long value)Sets the specified value to theXrEventDataViveTrackerConnectedHTCX.next()field.XrViveTrackerPathsHTCXpaths()XrEventDataViveTrackerConnectedHTCX.Bufferpaths(XrViveTrackerPathsHTCX value)Sets the address of the specifiedXrViveTrackerPathsHTCXto theXrEventDataViveTrackerConnectedHTCX.paths()field.inttype()XrEventDataViveTrackerConnectedHTCX.Buffertype(int value)Sets the specified value to theXrEventDataViveTrackerConnectedHTCX.type()field.XrEventDataViveTrackerConnectedHTCX.Buffertype$Default()Sets theTYPE_EVENT_DATA_VIVE_TRACKER_CONNECTED_HTCXvalue to theXrEventDataViveTrackerConnectedHTCX.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrEventDataViveTrackerConnectedHTCX.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 byXrEventDataViveTrackerConnectedHTCX.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
XrEventDataViveTrackerConnectedHTCX.type()field.
-
next
public long next()
- Returns:
- the value of the
XrEventDataViveTrackerConnectedHTCX.next()field.
-
paths
public XrViveTrackerPathsHTCX paths()
- Returns:
- a
XrViveTrackerPathsHTCXview of the struct pointed to by theXrEventDataViveTrackerConnectedHTCX.paths()field.
-
type
public XrEventDataViveTrackerConnectedHTCX.Buffer type(int value)
Sets the specified value to theXrEventDataViveTrackerConnectedHTCX.type()field.
-
type$Default
public XrEventDataViveTrackerConnectedHTCX.Buffer type$Default()
Sets theTYPE_EVENT_DATA_VIVE_TRACKER_CONNECTED_HTCXvalue to theXrEventDataViveTrackerConnectedHTCX.type()field.
-
next
public XrEventDataViveTrackerConnectedHTCX.Buffer next(long value)
Sets the specified value to theXrEventDataViveTrackerConnectedHTCX.next()field.
-
paths
public XrEventDataViveTrackerConnectedHTCX.Buffer paths(XrViveTrackerPathsHTCX value)
Sets the address of the specifiedXrViveTrackerPathsHTCXto theXrEventDataViveTrackerConnectedHTCX.paths()field.
-
-