Package org.lwjgl.openxr
Class XrEventDataMarkerTrackingUpdateVARJO.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrEventDataMarkerTrackingUpdateVARJO,XrEventDataMarkerTrackingUpdateVARJO.Buffer>
-
- org.lwjgl.openxr.XrEventDataMarkerTrackingUpdateVARJO.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrEventDataMarkerTrackingUpdateVARJO>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrEventDataMarkerTrackingUpdateVARJO
public static class XrEventDataMarkerTrackingUpdateVARJO.Buffer extends org.lwjgl.system.StructBuffer<XrEventDataMarkerTrackingUpdateVARJO,XrEventDataMarkerTrackingUpdateVARJO.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrEventDataMarkerTrackingUpdateVARJOstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrEventDataMarkerTrackingUpdateVARJO.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 byXrEventDataMarkerTrackingUpdateVARJO.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
XrEventDataMarkerTrackingUpdateVARJO.type()field.
-
next
public long next()
- Returns:
- the value of the
XrEventDataMarkerTrackingUpdateVARJO.next()field.
-
markerId
public long markerId()
- Returns:
- the value of the
XrEventDataMarkerTrackingUpdateVARJO.markerId()field.
-
isActive
public boolean isActive()
- Returns:
- the value of the
XrEventDataMarkerTrackingUpdateVARJO.isActive()field.
-
isPredicted
public boolean isPredicted()
- Returns:
- the value of the
isPredictedfield.
-
time
public long time()
- Returns:
- the value of the
XrEventDataMarkerTrackingUpdateVARJO.time()field.
-
type
public XrEventDataMarkerTrackingUpdateVARJO.Buffer type(int value)
Sets the specified value to theXrEventDataMarkerTrackingUpdateVARJO.type()field.
-
type$Default
public XrEventDataMarkerTrackingUpdateVARJO.Buffer type$Default()
Sets theTYPE_EVENT_DATA_MARKER_TRACKING_UPDATE_VARJOvalue to theXrEventDataMarkerTrackingUpdateVARJO.type()field.
-
next
public XrEventDataMarkerTrackingUpdateVARJO.Buffer next(long value)
Sets the specified value to theXrEventDataMarkerTrackingUpdateVARJO.next()field.
-
markerId
public XrEventDataMarkerTrackingUpdateVARJO.Buffer markerId(long value)
Sets the specified value to theXrEventDataMarkerTrackingUpdateVARJO.markerId()field.
-
isActive
public XrEventDataMarkerTrackingUpdateVARJO.Buffer isActive(boolean value)
Sets the specified value to theXrEventDataMarkerTrackingUpdateVARJO.isActive()field.
-
isPredicted
public XrEventDataMarkerTrackingUpdateVARJO.Buffer isPredicted(boolean value)
Sets the specified value to theisPredictedfield.
-
time
public XrEventDataMarkerTrackingUpdateVARJO.Buffer time(long value)
Sets the specified value to theXrEventDataMarkerTrackingUpdateVARJO.time()field.
-
-