Class XrSystemHandTrackingMeshPropertiesMSFT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrSystemHandTrackingMeshPropertiesMSFT>
org.lwjgl.openxr.XrSystemHandTrackingMeshPropertiesMSFT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class XrSystemHandTrackingMeshPropertiesMSFT extends org.lwjgl.system.Struct<XrSystemHandTrackingMeshPropertiesMSFT> implements org.lwjgl.system.NativeResource
System property for hand tracking mesh.
Description

If a runtime returns FALSE for supportsHandTrackingMesh, the system does not support hand tracking mesh input, and therefore must return ERROR_FEATURE_UNSUPPORTED from CreateHandMeshSpaceMSFT and UpdateHandMeshMSFT. The application should avoid using hand mesh functionality when supportsHandTrackingMesh is FALSE.

If a runtime returns TRUE for supportsHandTrackingMesh, the system supports hand tracking mesh input. In this case, the runtime must return a positive number for maxHandMeshIndexCount and maxHandMeshVertexCount. An application should use maxHandMeshIndexCount and maxHandMeshVertexCount to preallocate hand mesh buffers and reuse them in their render loop when calling UpdateHandMeshMSFT every frame.

Valid Usage (Implicit)
See Also

XrSystemProperties, GetSystemProperties

Layout


 struct XrSystemHandTrackingMeshPropertiesMSFT {
     XrStructureType type();
     void * next();
     XrBool32 supportsHandTrackingMesh();
     uint32_t maxHandMeshIndexCount();
     uint32_t maxHandMeshVertexCount();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • TYPE

      public static final int TYPE
      The struct member offsets.
    • NEXT

      public static final int NEXT
      The struct member offsets.
    • SUPPORTSHANDTRACKINGMESH

      public static final int SUPPORTSHANDTRACKINGMESH
      The struct member offsets.
    • MAXHANDMESHINDEXCOUNT

      public static final int MAXHANDMESHINDEXCOUNT
      The struct member offsets.
    • MAXHANDMESHVERTEXCOUNT

      public static final int MAXHANDMESHVERTEXCOUNT
      The struct member offsets.
  • Constructor Details

    • XrSystemHandTrackingMeshPropertiesMSFT

      public XrSystemHandTrackingMeshPropertiesMSFT(ByteBuffer container)
      Creates a XrSystemHandTrackingMeshPropertiesMSFT 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 Details