Package org.lwjgl.openxr
Class XrKeyboardTrackingDescriptionFB.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrKeyboardTrackingDescriptionFB,XrKeyboardTrackingDescriptionFB.Buffer>
-
- org.lwjgl.openxr.XrKeyboardTrackingDescriptionFB.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrKeyboardTrackingDescriptionFB>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrKeyboardTrackingDescriptionFB
public static class XrKeyboardTrackingDescriptionFB.Buffer extends org.lwjgl.system.StructBuffer<XrKeyboardTrackingDescriptionFB,XrKeyboardTrackingDescriptionFB.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrKeyboardTrackingDescriptionFBstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longflags()java.nio.ByteBuffername()java.lang.StringnameString()XrVector3fsize()longtrackedKeyboardId()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrKeyboardTrackingDescriptionFB.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 byXrKeyboardTrackingDescriptionFB.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
-
trackedKeyboardId
public long trackedKeyboardId()
- Returns:
- the value of the
XrKeyboardTrackingDescriptionFB.trackedKeyboardId()field.
-
size
public XrVector3f size()
- Returns:
- a
XrVector3fview of theXrKeyboardTrackingDescriptionFB.size()field.
-
flags
public long flags()
- Returns:
- the value of the
XrKeyboardTrackingDescriptionFB.flags()field.
-
name
public java.nio.ByteBuffer name()
- Returns:
- a
ByteBufferview of theXrKeyboardTrackingDescriptionFB.name()field.
-
nameString
public java.lang.String nameString()
- Returns:
- the null-terminated string stored in the
XrKeyboardTrackingDescriptionFB.name()field.
-
-