Package org.lwjgl.openxr
Class XrHandTrackingMeshFB
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct XrHandTrackingMeshFB {
XrStructureType type;
void * next;
uint32_t jointCapacityInput;
uint32_t jointCountOutput;
XrPosef * jointBindPoses;
float * jointRadii;
XrHandJointEXT * jointParents;
uint32_t vertexCapacityInput;
uint32_t vertexCountOutput;
XrVector3f * vertexPositions;
XrVector3f * vertexNormals;
XrVector2f * vertexUVs;
XrVector4sFB * vertexBlendIndices;
XrVector4f * vertexBlendWeights;
uint32_t indexCapacityInput;
uint32_t indexCountOutput;
int16_t * indices;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionXrHandTrackingMeshFB(ByteBuffer container) Creates aXrHandTrackingMeshFBinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic XrHandTrackingMeshFBcalloc()Returns a newXrHandTrackingMeshFBinstance allocated withmemCalloc.static XrHandTrackingMeshFB.Buffercalloc(int capacity) Returns a newXrHandTrackingMeshFB.Bufferinstance allocated withmemCalloc.static XrHandTrackingMeshFB.Buffercalloc(int capacity, MemoryStack stack) Returns a newXrHandTrackingMeshFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrHandTrackingMeshFBcalloc(MemoryStack stack) Returns a newXrHandTrackingMeshFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static XrHandTrackingMeshFBcreate()Returns a newXrHandTrackingMeshFBinstance allocated withBufferUtils.static XrHandTrackingMeshFB.Buffercreate(int capacity) Returns a newXrHandTrackingMeshFB.Bufferinstance allocated withBufferUtils.static XrHandTrackingMeshFBcreate(long address) Returns a newXrHandTrackingMeshFBinstance for the specified memory address.static XrHandTrackingMeshFB.Buffercreate(long address, int capacity) Create aXrHandTrackingMeshFB.Bufferinstance at the specified memory.static @Nullable XrHandTrackingMeshFBcreateSafe(long address) static @Nullable XrHandTrackingMeshFB.BuffercreateSafe(long address, int capacity) intindexCapacityInput(int value) Sets the specified value to theindexCapacityInputfield.intindexCountOutput(int value) Sets the specified value to theindexCountOutputfield.@Nullable ShortBufferindices()indices(@Nullable ShortBuffer value) Sets the address of the specifiedShortBufferto theindicesfield.@Nullable XrPosef.BufferjointBindPoses(@Nullable XrPosef.Buffer value) Sets the address of the specifiedXrPosef.Bufferto thejointBindPosesfield.intjointCapacityInput(int value) Sets the specified value to thejointCapacityInputfield.intjointCountOutput(int value) Sets the specified value to thejointCountOutputfield.@Nullable IntBufferjointParents(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thejointParentsfield.@Nullable FloatBufferjointRadii(@Nullable FloatBuffer value) Sets the address of the specifiedFloatBufferto thejointRadiifield.static XrHandTrackingMeshFBmalloc()Returns a newXrHandTrackingMeshFBinstance allocated withmemAlloc.static XrHandTrackingMeshFB.Buffermalloc(int capacity) Returns a newXrHandTrackingMeshFB.Bufferinstance allocated withmemAlloc.static XrHandTrackingMeshFB.Buffermalloc(int capacity, MemoryStack stack) Returns a newXrHandTrackingMeshFB.Bufferinstance allocated on the specifiedMemoryStack.static XrHandTrackingMeshFBmalloc(MemoryStack stack) Returns a newXrHandTrackingMeshFBinstance allocated on the specifiedMemoryStack.longnext()next(long value) Sets the specified value to thenextfield.static intnindexCapacityInput(long struct) Unsafe version ofindexCapacityInput().static voidnindexCapacityInput(long struct, int value) Sets the specified value to theindexCapacityInputfield of the specifiedstruct.static intnindexCountOutput(long struct) Unsafe version ofindexCountOutput().static voidnindexCountOutput(long struct, int value) Unsafe version ofindexCountOutput.static @Nullable ShortBuffernindices(long struct) Unsafe version ofindices.static voidnindices(long struct, @Nullable ShortBuffer value) Unsafe version ofindices.static @Nullable XrPosef.BuffernjointBindPoses(long struct) Unsafe version ofjointBindPoses().static voidnjointBindPoses(long struct, @Nullable XrPosef.Buffer value) Unsafe version ofjointBindPoses.static intnjointCapacityInput(long struct) Unsafe version ofjointCapacityInput().static voidnjointCapacityInput(long struct, int value) Sets the specified value to thejointCapacityInputfield of the specifiedstruct.static intnjointCountOutput(long struct) Unsafe version ofjointCountOutput().static voidnjointCountOutput(long struct, int value) Unsafe version ofjointCountOutput.static @Nullable IntBuffernjointParents(long struct) Unsafe version ofjointParents.static voidnjointParents(long struct, @Nullable IntBuffer value) Unsafe version ofjointParents.static @Nullable FloatBuffernjointRadii(long struct) Unsafe version ofjointRadii.static voidnjointRadii(long struct, @Nullable FloatBuffer value) Unsafe version ofjointRadii.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.static @Nullable XrVector4sFB.BuffernvertexBlendIndices(long struct) Unsafe version ofvertexBlendIndices().static voidnvertexBlendIndices(long struct, @Nullable XrVector4sFB.Buffer value) Unsafe version ofvertexBlendIndices.static @Nullable XrVector4f.BuffernvertexBlendWeights(long struct) Unsafe version ofvertexBlendWeights().static voidnvertexBlendWeights(long struct, @Nullable XrVector4f.Buffer value) Unsafe version ofvertexBlendWeights.static intnvertexCapacityInput(long struct) Unsafe version ofvertexCapacityInput().static voidnvertexCapacityInput(long struct, int value) Sets the specified value to thevertexCapacityInputfield of the specifiedstruct.static intnvertexCountOutput(long struct) Unsafe version ofvertexCountOutput().static voidnvertexCountOutput(long struct, int value) Unsafe version ofvertexCountOutput.static @Nullable XrVector3f.BuffernvertexNormals(long struct) Unsafe version ofvertexNormals().static voidnvertexNormals(long struct, @Nullable XrVector3f.Buffer value) Unsafe version ofvertexNormals.static @Nullable XrVector3f.BuffernvertexPositions(long struct) Unsafe version ofvertexPositions().static voidnvertexPositions(long struct, @Nullable XrVector3f.Buffer value) Unsafe version ofvertexPositions.static @Nullable XrVector2f.BuffernvertexUVs(long struct) Unsafe version ofvertexUVs().static voidnvertexUVs(long struct, @Nullable XrVector2f.Buffer value) Unsafe version ofvertexUVs.set(int type, long next, int jointCapacityInput, int jointCountOutput, @Nullable XrPosef.Buffer jointBindPoses, @Nullable FloatBuffer jointRadii, @Nullable IntBuffer jointParents, int vertexCapacityInput, int vertexCountOutput, @Nullable XrVector3f.Buffer vertexPositions, @Nullable XrVector3f.Buffer vertexNormals, @Nullable XrVector2f.Buffer vertexUVs, @Nullable XrVector4sFB.Buffer vertexBlendIndices, @Nullable XrVector4f.Buffer vertexBlendWeights, int indexCapacityInput, int indexCountOutput, @Nullable ShortBuffer indices) Initializes this struct with the specified values.set(XrHandTrackingMeshFB src) Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).inttype()type(int value) Sets the specified value to thetypefield.Sets theTYPE_HAND_TRACKING_MESH_FBvalue to thetypefield.@Nullable XrVector4sFB.BuffervertexBlendIndices(@Nullable XrVector4sFB.Buffer value) Sets the address of the specifiedXrVector4sFB.Bufferto thevertexBlendIndicesfield.@Nullable XrVector4f.BuffervertexBlendWeights(@Nullable XrVector4f.Buffer value) Sets the address of the specifiedXrVector4f.Bufferto thevertexBlendWeightsfield.intvertexCapacityInput(int value) Sets the specified value to thevertexCapacityInputfield.intvertexCountOutput(int value) Sets the specified value to thevertexCountOutputfield.@Nullable XrVector3f.BuffervertexNormals(@Nullable XrVector3f.Buffer value) Sets the address of the specifiedXrVector3f.Bufferto thevertexNormalsfield.@Nullable XrVector3f.BuffervertexPositions(@Nullable XrVector3f.Buffer value) Sets the address of the specifiedXrVector3f.Bufferto thevertexPositionsfield.@Nullable XrVector2f.BuffervertexUVs(@Nullable XrVector2f.Buffer value) Sets the address of the specifiedXrVector2f.Bufferto thevertexUVsfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
TYPE
public static final int TYPEThe struct member offsets. -
NEXT
public static final int NEXTThe struct member offsets. -
JOINTCAPACITYINPUT
public static final int JOINTCAPACITYINPUTThe struct member offsets. -
JOINTCOUNTOUTPUT
public static final int JOINTCOUNTOUTPUTThe struct member offsets. -
JOINTBINDPOSES
public static final int JOINTBINDPOSESThe struct member offsets. -
JOINTRADII
public static final int JOINTRADIIThe struct member offsets. -
JOINTPARENTS
public static final int JOINTPARENTSThe struct member offsets. -
VERTEXCAPACITYINPUT
public static final int VERTEXCAPACITYINPUTThe struct member offsets. -
VERTEXCOUNTOUTPUT
public static final int VERTEXCOUNTOUTPUTThe struct member offsets. -
VERTEXPOSITIONS
public static final int VERTEXPOSITIONSThe struct member offsets. -
VERTEXNORMALS
public static final int VERTEXNORMALSThe struct member offsets. -
VERTEXUVS
public static final int VERTEXUVSThe struct member offsets. -
VERTEXBLENDINDICES
public static final int VERTEXBLENDINDICESThe struct member offsets. -
VERTEXBLENDWEIGHTS
public static final int VERTEXBLENDWEIGHTSThe struct member offsets. -
INDEXCAPACITYINPUT
public static final int INDEXCAPACITYINPUTThe struct member offsets. -
INDEXCOUNTOUTPUT
public static final int INDEXCOUNTOUTPUTThe struct member offsets. -
INDICES
public static final int INDICESThe struct member offsets.
-
-
Constructor Details
-
XrHandTrackingMeshFB
Creates aXrHandTrackingMeshFBinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<XrHandTrackingMeshFB>
-
type
public int type()- Returns:
- the value of the
typefield.
-
next
public long next()- Returns:
- the value of the
nextfield.
-
jointCapacityInput
public int jointCapacityInput()- Returns:
- the value of the
jointCapacityInputfield.
-
jointCountOutput
public int jointCountOutput()- Returns:
- the value of the
jointCountOutputfield.
-
jointBindPoses
- Returns:
- a
XrPosef.Bufferview of the struct array pointed to by thejointBindPosesfield.
-
jointRadii
- Returns:
- a
FloatBufferview of the data pointed to by thejointRadiifield.
-
jointParents
- Returns:
- a
IntBufferview of the data pointed to by thejointParentsfield.
-
vertexCapacityInput
public int vertexCapacityInput()- Returns:
- the value of the
vertexCapacityInputfield.
-
vertexCountOutput
public int vertexCountOutput()- Returns:
- the value of the
vertexCountOutputfield.
-
vertexPositions
- Returns:
- a
XrVector3f.Bufferview of the struct array pointed to by thevertexPositionsfield.
-
vertexNormals
- Returns:
- a
XrVector3f.Bufferview of the struct array pointed to by thevertexNormalsfield.
-
vertexUVs
- Returns:
- a
XrVector2f.Bufferview of the struct array pointed to by thevertexUVsfield.
-
vertexBlendIndices
- Returns:
- a
XrVector4sFB.Bufferview of the struct array pointed to by thevertexBlendIndicesfield.
-
vertexBlendWeights
- Returns:
- a
XrVector4f.Bufferview of the struct array pointed to by thevertexBlendWeightsfield.
-
indexCapacityInput
public int indexCapacityInput()- Returns:
- the value of the
indexCapacityInputfield.
-
indexCountOutput
public int indexCountOutput()- Returns:
- the value of the
indexCountOutputfield.
-
indices
- Returns:
- a
ShortBufferview of the data pointed to by theindicesfield.
-
type
Sets the specified value to thetypefield. -
type$Default
Sets theTYPE_HAND_TRACKING_MESH_FBvalue to thetypefield. -
next
Sets the specified value to thenextfield. -
jointCapacityInput
Sets the specified value to thejointCapacityInputfield. -
jointCountOutput
Sets the specified value to thejointCountOutputfield. -
jointBindPoses
Sets the address of the specifiedXrPosef.Bufferto thejointBindPosesfield. -
jointRadii
Sets the address of the specifiedFloatBufferto thejointRadiifield. -
jointParents
Sets the address of the specifiedIntBufferto thejointParentsfield. -
vertexCapacityInput
Sets the specified value to thevertexCapacityInputfield. -
vertexCountOutput
Sets the specified value to thevertexCountOutputfield. -
vertexPositions
Sets the address of the specifiedXrVector3f.Bufferto thevertexPositionsfield. -
vertexNormals
Sets the address of the specifiedXrVector3f.Bufferto thevertexNormalsfield. -
vertexUVs
Sets the address of the specifiedXrVector2f.Bufferto thevertexUVsfield. -
vertexBlendIndices
Sets the address of the specifiedXrVector4sFB.Bufferto thevertexBlendIndicesfield. -
vertexBlendWeights
Sets the address of the specifiedXrVector4f.Bufferto thevertexBlendWeightsfield. -
indexCapacityInput
Sets the specified value to theindexCapacityInputfield. -
indexCountOutput
Sets the specified value to theindexCountOutputfield. -
indices
Sets the address of the specifiedShortBufferto theindicesfield. -
set
public XrHandTrackingMeshFB set(int type, long next, int jointCapacityInput, int jointCountOutput, @Nullable XrPosef.Buffer jointBindPoses, @Nullable FloatBuffer jointRadii, @Nullable IntBuffer jointParents, int vertexCapacityInput, int vertexCountOutput, @Nullable XrVector3f.Buffer vertexPositions, @Nullable XrVector3f.Buffer vertexNormals, @Nullable XrVector2f.Buffer vertexUVs, @Nullable XrVector4sFB.Buffer vertexBlendIndices, @Nullable XrVector4f.Buffer vertexBlendWeights, int indexCapacityInput, int indexCountOutput, @Nullable ShortBuffer indices) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newXrHandTrackingMeshFBinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newXrHandTrackingMeshFBinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newXrHandTrackingMeshFBinstance allocated withBufferUtils. -
create
Returns a newXrHandTrackingMeshFBinstance for the specified memory address. -
createSafe
-
malloc
Returns a newXrHandTrackingMeshFB.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newXrHandTrackingMeshFB.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newXrHandTrackingMeshFB.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aXrHandTrackingMeshFB.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newXrHandTrackingMeshFBinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newXrHandTrackingMeshFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newXrHandTrackingMeshFB.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newXrHandTrackingMeshFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
ntype
public static int ntype(long struct) Unsafe version oftype(). -
nnext
public static long nnext(long struct) Unsafe version ofnext(). -
njointCapacityInput
public static int njointCapacityInput(long struct) Unsafe version ofjointCapacityInput(). -
njointCountOutput
public static int njointCountOutput(long struct) Unsafe version ofjointCountOutput(). -
njointBindPoses
Unsafe version ofjointBindPoses(). -
njointRadii
Unsafe version ofjointRadii. -
njointParents
Unsafe version ofjointParents. -
nvertexCapacityInput
public static int nvertexCapacityInput(long struct) Unsafe version ofvertexCapacityInput(). -
nvertexCountOutput
public static int nvertexCountOutput(long struct) Unsafe version ofvertexCountOutput(). -
nvertexPositions
Unsafe version ofvertexPositions(). -
nvertexNormals
Unsafe version ofvertexNormals(). -
nvertexUVs
Unsafe version ofvertexUVs(). -
nvertexBlendIndices
Unsafe version ofvertexBlendIndices(). -
nvertexBlendWeights
Unsafe version ofvertexBlendWeights(). -
nindexCapacityInput
public static int nindexCapacityInput(long struct) Unsafe version ofindexCapacityInput(). -
nindexCountOutput
public static int nindexCountOutput(long struct) Unsafe version ofindexCountOutput(). -
nindices
Unsafe version ofindices. -
ntype
public static void ntype(long struct, int value) Unsafe version oftype. -
nnext
public static void nnext(long struct, long value) Unsafe version ofnext. -
njointCapacityInput
public static void njointCapacityInput(long struct, int value) Sets the specified value to thejointCapacityInputfield of the specifiedstruct. -
njointCountOutput
public static void njointCountOutput(long struct, int value) Unsafe version ofjointCountOutput. -
njointBindPoses
Unsafe version ofjointBindPoses. -
njointRadii
Unsafe version ofjointRadii. -
njointParents
Unsafe version ofjointParents. -
nvertexCapacityInput
public static void nvertexCapacityInput(long struct, int value) Sets the specified value to thevertexCapacityInputfield of the specifiedstruct. -
nvertexCountOutput
public static void nvertexCountOutput(long struct, int value) Unsafe version ofvertexCountOutput. -
nvertexPositions
Unsafe version ofvertexPositions. -
nvertexNormals
Unsafe version ofvertexNormals. -
nvertexUVs
Unsafe version ofvertexUVs. -
nvertexBlendIndices
Unsafe version ofvertexBlendIndices. -
nvertexBlendWeights
Unsafe version ofvertexBlendWeights. -
nindexCapacityInput
public static void nindexCapacityInput(long struct, int value) Sets the specified value to theindexCapacityInputfield of the specifiedstruct. -
nindexCountOutput
public static void nindexCountOutput(long struct, int value) Unsafe version ofindexCountOutput. -
nindices
Unsafe version ofindices.
-