Class XrHandTrackingMeshFB

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, JOINTCAPACITYINPUT, JOINTCOUNTOUTPUT, JOINTBINDPOSES, JOINTRADII, JOINTPARENTS, VERTEXCAPACITYINPUT, VERTEXCOUNTOUTPUT, VERTEXPOSITIONS, VERTEXNORMALS, VERTEXUVS, VERTEXBLENDINDICES, VERTEXBLENDWEIGHTS, INDEXCAPACITYINPUT, INDEXCOUNTOUTPUT, INDICES

        The struct member offsets.
    • Constructor Detail

      • XrHandTrackingMeshFB

        public XrHandTrackingMeshFB​(java.nio.ByteBuffer container)
        Creates a XrHandTrackingMeshFB instance at the current position of the specified ByteBuffer container. 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:
        sizeof in class org.lwjgl.system.Struct
      • type

        public int type()
        the XrStructureType of this structure.
      • next

        public long next()
        NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.
      • jointCapacityInput

        public int jointCapacityInput()
        the capacity of the joint data arrays in this structure, or 0 to indicate a request to retrieve the required capacity.
      • jointCountOutput

        public int jointCountOutput()
        filled in by the runtime with the count of joint data elements written, or the required capacity in the case that any of jointCapacityInput, vertexCapacityInput, or indexCapacityInput is 0.
      • jointBindPoses

        public XrPosef.Buffer jointBindPoses()
        an array of poses that matches what is returned by LocateHandJointsEXT which describes the hand skeleton’s bind pose.
      • jointRadii

        public java.nio.FloatBuffer jointRadii()
        an array of joint radii at bind pose.
      • jointParents

        public java.nio.IntBuffer jointParents()
        an array of joint parents to define a bone hierarchy for the hand skeleton.
      • vertexCapacityInput

        public int vertexCapacityInput()
        the capacity of the vertex data arrays in this structure, or 0 to indicate a request to retrieve the required capacity.
      • vertexCountOutput

        public int vertexCountOutput()
        filled in by the runtime with the count of vertex data elements written, or the required capacity in the case that any of jointCapacityInput, vertexCapacityInput, or indexCapacityInput is 0.
      • vertexPositions

        public XrVector3f.Buffer vertexPositions()
        an array of 3D vertex positions.
      • vertexNormals

        public XrVector3f.Buffer vertexNormals()
        an array of 3D vertex normals.
      • vertexUVs

        public XrVector2f.Buffer vertexUVs()
        an array of texture coordinates for this vertex.
      • vertexBlendIndices

        public XrVector4sFB.Buffer vertexBlendIndices()
        an array of bone blend indices.
      • vertexBlendWeights

        public XrVector4f.Buffer vertexBlendWeights()
        an array of bone blend weights.
      • indexCapacityInput

        public int indexCapacityInput()
        the capacity of the index data arrays in this structure, or 0 to indicate a request to retrieve the required capacity.
      • indexCountOutput

        public int indexCountOutput()
        filled in by the runtime with the count of index data elements written, or the required capacity in the case that any of jointCapacityInput, vertexCapacityInput, or indexCapacityInput is 0.
      • indices

        public java.nio.ShortBuffer indices()
        an array of triangle indices.
      • indices

        public XrHandTrackingMeshFB indices​(java.nio.ShortBuffer value)
        Sets the address of the specified ShortBuffer to the indices() field.
      • malloc

        public static XrHandTrackingMeshFB malloc()
        Returns a new XrHandTrackingMeshFB instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static XrHandTrackingMeshFB calloc()
        Returns a new XrHandTrackingMeshFB instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static XrHandTrackingMeshFB create()
        Returns a new XrHandTrackingMeshFB instance allocated with BufferUtils.
      • create

        public static XrHandTrackingMeshFB create​(long address)
        Returns a new XrHandTrackingMeshFB instance for the specified memory address.
      • createSafe

        @Nullable
        public static XrHandTrackingMeshFB createSafe​(long address)
        Like create, but returns null if address is NULL.
      • malloc

        public static XrHandTrackingMeshFB malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new XrHandTrackingMeshFB instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static XrHandTrackingMeshFB calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new XrHandTrackingMeshFB instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • malloc

        public static XrHandTrackingMeshFB.Buffer malloc​(int capacity,
                                                         org.lwjgl.system.MemoryStack stack)
        Returns a new XrHandTrackingMeshFB.Buffer instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • calloc

        public static XrHandTrackingMeshFB.Buffer calloc​(int capacity,
                                                         org.lwjgl.system.MemoryStack stack)
        Returns a new XrHandTrackingMeshFB.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • ntype

        public static int ntype​(long struct)
        Unsafe version of type().
      • nnext

        public static long nnext​(long struct)
        Unsafe version of next().
      • njointCapacityInput

        public static int njointCapacityInput​(long struct)
        Unsafe version of jointCapacityInput().
      • njointCountOutput

        public static int njointCountOutput​(long struct)
        Unsafe version of jointCountOutput().
      • njointRadii

        public static java.nio.FloatBuffer njointRadii​(long struct)
        Unsafe version of jointRadii.
      • njointParents

        public static java.nio.IntBuffer njointParents​(long struct)
        Unsafe version of jointParents.
      • nvertexCapacityInput

        public static int nvertexCapacityInput​(long struct)
        Unsafe version of vertexCapacityInput().
      • nvertexCountOutput

        public static int nvertexCountOutput​(long struct)
        Unsafe version of vertexCountOutput().
      • nindexCapacityInput

        public static int nindexCapacityInput​(long struct)
        Unsafe version of indexCapacityInput().
      • nindexCountOutput

        public static int nindexCountOutput​(long struct)
        Unsafe version of indexCountOutput().
      • nindices

        public static java.nio.ShortBuffer nindices​(long struct)
        Unsafe version of indices.
      • ntype

        public static void ntype​(long struct,
                                 int value)
        Unsafe version of type.
      • nnext

        public static void nnext​(long struct,
                                 long value)
        Unsafe version of next.
      • njointCapacityInput

        public static void njointCapacityInput​(long struct,
                                               int value)
        Sets the specified value to the jointCapacityInput field of the specified struct.
      • njointCountOutput

        public static void njointCountOutput​(long struct,
                                             int value)
        Unsafe version of jointCountOutput.
      • njointRadii

        public static void njointRadii​(long struct,
                                       java.nio.FloatBuffer value)
        Unsafe version of jointRadii.
      • njointParents

        public static void njointParents​(long struct,
                                         java.nio.IntBuffer value)
        Unsafe version of jointParents.
      • nvertexCapacityInput

        public static void nvertexCapacityInput​(long struct,
                                                int value)
        Sets the specified value to the vertexCapacityInput field of the specified struct.
      • nvertexCountOutput

        public static void nvertexCountOutput​(long struct,
                                              int value)
        Unsafe version of vertexCountOutput.
      • nindexCapacityInput

        public static void nindexCapacityInput​(long struct,
                                               int value)
        Sets the specified value to the indexCapacityInput field of the specified struct.
      • nindexCountOutput

        public static void nindexCountOutput​(long struct,
                                             int value)
        Unsafe version of indexCountOutput.
      • nindices

        public static void nindices​(long struct,
                                    java.nio.ShortBuffer value)
        Unsafe version of indices.
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate