Package org.lwjgl.openxr
Class XrHandTrackingCapsulesStateFB
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openxr.XrHandTrackingCapsulesStateFB
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class XrHandTrackingCapsulesStateFB extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceA list of capsules associated to hand joints.Valid Usage (Implicit)
- The
XR_FB_hand_tracking_capsulesextension must be enabled prior to usingXrHandTrackingCapsulesStateFB typemust beTYPE_HAND_TRACKING_CAPSULES_STATE_FBnextmust beNULLor a valid pointer to the next structure in a structure chain
See Also
Layout
struct XrHandTrackingCapsulesStateFB { XrStructureTypetype(); void *next();XrHandCapsuleFBcapsules()[XR_FB_HAND_TRACKING_CAPSULE_COUNT]; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXrHandTrackingCapsulesStateFB.BufferAn array ofXrHandTrackingCapsulesStateFBstructs.
-
Constructor Summary
Constructors Constructor Description XrHandTrackingCapsulesStateFB(java.nio.ByteBuffer container)Creates aXrHandTrackingCapsulesStateFBinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XrHandTrackingCapsulesStateFBcalloc()Returns a newXrHandTrackingCapsulesStateFBinstance allocated withmemCalloc.static XrHandTrackingCapsulesStateFB.Buffercalloc(int capacity)Returns a newXrHandTrackingCapsulesStateFB.Bufferinstance allocated withmemCalloc.static XrHandTrackingCapsulesStateFB.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrHandTrackingCapsulesStateFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrHandTrackingCapsulesStateFBcalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrHandTrackingCapsulesStateFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.XrHandCapsuleFB.Buffercapsules()an array of capsules.XrHandCapsuleFBcapsules(int index)an array of capsules.static XrHandTrackingCapsulesStateFBcreate()Returns a newXrHandTrackingCapsulesStateFBinstance allocated withBufferUtils.static XrHandTrackingCapsulesStateFB.Buffercreate(int capacity)Returns a newXrHandTrackingCapsulesStateFB.Bufferinstance allocated withBufferUtils.static XrHandTrackingCapsulesStateFBcreate(long address)Returns a newXrHandTrackingCapsulesStateFBinstance for the specified memory address.static XrHandTrackingCapsulesStateFB.Buffercreate(long address, int capacity)Create aXrHandTrackingCapsulesStateFB.Bufferinstance at the specified memory.static XrHandTrackingCapsulesStateFBcreateSafe(long address)static XrHandTrackingCapsulesStateFB.BuffercreateSafe(long address, int capacity)static XrHandTrackingCapsulesStateFBmalloc()Returns a newXrHandTrackingCapsulesStateFBinstance allocated withmemAlloc.static XrHandTrackingCapsulesStateFB.Buffermalloc(int capacity)Returns a newXrHandTrackingCapsulesStateFB.Bufferinstance allocated withmemAlloc.static XrHandTrackingCapsulesStateFB.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newXrHandTrackingCapsulesStateFB.Bufferinstance allocated on the specifiedMemoryStack.static XrHandTrackingCapsulesStateFBmalloc(org.lwjgl.system.MemoryStack stack)Returns a newXrHandTrackingCapsulesStateFBinstance allocated on the specifiedMemoryStack.static XrHandCapsuleFB.Bufferncapsules(long struct)Unsafe version ofcapsules().static XrHandCapsuleFBncapsules(long struct, int index)Unsafe version ofcapsules.longnext()NULLor a pointer to the next structure in a structure chain.XrHandTrackingCapsulesStateFBnext(long value)Sets the specified value to thenext()field.static longnnext(long struct)Unsafe version ofnext().static voidnnext(long struct, long value)Unsafe version ofnext.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.XrHandTrackingCapsulesStateFBset(int type, long next)Initializes this struct with the specified values.XrHandTrackingCapsulesStateFBset(XrHandTrackingCapsulesStateFB src)Copies the specified struct data to this struct.intsizeof()inttype()theXrStructureTypeof this structure.XrHandTrackingCapsulesStateFBtype(int value)Sets the specified value to thetype()field.XrHandTrackingCapsulesStateFBtype$Default()Sets theTYPE_HAND_TRACKING_CAPSULES_STATE_FBvalue to thetype()field.
-
-
-
Constructor Detail
-
XrHandTrackingCapsulesStateFB
public XrHandTrackingCapsulesStateFB(java.nio.ByteBuffer container)
Creates aXrHandTrackingCapsulesStateFBinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
type
public int type()
theXrStructureTypeof this structure.
-
next
public long next()
NULLor a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.
-
capsules
public XrHandCapsuleFB.Buffer capsules() public XrHandCapsuleFB capsules(int index)
an array of capsules.
-
type
public XrHandTrackingCapsulesStateFB type(int value)
Sets the specified value to thetype()field.
-
type$Default
public XrHandTrackingCapsulesStateFB type$Default()
Sets theTYPE_HAND_TRACKING_CAPSULES_STATE_FBvalue to thetype()field.
-
next
public XrHandTrackingCapsulesStateFB next(long value)
Sets the specified value to thenext()field.
-
set
public XrHandTrackingCapsulesStateFB set(int type, long next)
Initializes this struct with the specified values.
-
set
public XrHandTrackingCapsulesStateFB set(XrHandTrackingCapsulesStateFB src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static XrHandTrackingCapsulesStateFB malloc()
Returns a newXrHandTrackingCapsulesStateFBinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static XrHandTrackingCapsulesStateFB calloc()
Returns a newXrHandTrackingCapsulesStateFBinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static XrHandTrackingCapsulesStateFB create()
Returns a newXrHandTrackingCapsulesStateFBinstance allocated withBufferUtils.
-
create
public static XrHandTrackingCapsulesStateFB create(long address)
Returns a newXrHandTrackingCapsulesStateFBinstance for the specified memory address.
-
createSafe
@Nullable public static XrHandTrackingCapsulesStateFB createSafe(long address)
-
malloc
public static XrHandTrackingCapsulesStateFB.Buffer malloc(int capacity)
Returns a newXrHandTrackingCapsulesStateFB.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static XrHandTrackingCapsulesStateFB.Buffer calloc(int capacity)
Returns a newXrHandTrackingCapsulesStateFB.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static XrHandTrackingCapsulesStateFB.Buffer create(int capacity)
Returns a newXrHandTrackingCapsulesStateFB.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static XrHandTrackingCapsulesStateFB.Buffer create(long address, int capacity)
Create aXrHandTrackingCapsulesStateFB.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static XrHandTrackingCapsulesStateFB.Buffer createSafe(long address, int capacity)
-
malloc
public static XrHandTrackingCapsulesStateFB malloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrHandTrackingCapsulesStateFBinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static XrHandTrackingCapsulesStateFB calloc(org.lwjgl.system.MemoryStack stack)
Returns a newXrHandTrackingCapsulesStateFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static XrHandTrackingCapsulesStateFB.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrHandTrackingCapsulesStateFB.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static XrHandTrackingCapsulesStateFB.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newXrHandTrackingCapsulesStateFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
ntype
public static int ntype(long struct)
Unsafe version oftype().
-
nnext
public static long nnext(long struct)
Unsafe version ofnext().
-
ncapsules
public static XrHandCapsuleFB.Buffer ncapsules(long struct)
Unsafe version ofcapsules().
-
ncapsules
public static XrHandCapsuleFB ncapsules(long struct, int index)
Unsafe version ofcapsules.
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nnext
public static void nnext(long struct, long value)Unsafe version ofnext.
-
-