Class XrHandTrackingDataSourceInfoEXT

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

public class XrHandTrackingDataSourceInfoEXT extends org.lwjgl.system.Struct<XrHandTrackingDataSourceInfoEXT> implements org.lwjgl.system.NativeResource
Specify the data source to create the hand tracker.
Description

The XrHandTrackingDataSourceInfoEXT is a structure that an application can chain to XrHandTrackerCreateInfoEXT::next to specify the hand tracking data sources that the application accepts.

Because the hand tracking device may change during a running session, the runtime may return a valid XrHandTrackerEXT handle even if there is no currently active hand tracking device or the active device does not safisty any or all data sources requested by the applications’s call to CreateHandTrackerEXT. The runtime may instead return ERROR_FEATURE_UNSUPPORTED from CreateHandTrackerEXT, if for example the runtime believes it will never be able to satisfy the request.

If any value in requestedDataSources is duplicated, the runtime must return ERROR_VALIDATION_FAILURE from the call to CreateHandTrackerEXT. If requestedDataSourceCount is 0, the runtime must return ERROR_VALIDATION_FAILURE from the call to CreateHandTrackerEXT.

Valid Usage (Implicit)
See Also

XrHandTrackerCreateInfoEXT, CreateHandTrackerEXT

Layout


 struct XrHandTrackingDataSourceInfoEXT {
     XrStructureType type();
     void const * next();
     uint32_t requestedDataSourceCount();
     XrHandTrackingDataSourceEXT * requestedDataSources();
 }
  • 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.
    • REQUESTEDDATASOURCECOUNT

      public static final int REQUESTEDDATASOURCECOUNT
      The struct member offsets.
    • REQUESTEDDATASOURCES

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

    • XrHandTrackingDataSourceInfoEXT

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