Class XrSystemFaceTrackingProperties2FB

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

public class XrSystemFaceTrackingProperties2FB extends org.lwjgl.system.Struct<XrSystemFaceTrackingProperties2FB> implements org.lwjgl.system.NativeResource
System property for face tracking.
Description

An application can inspect whether the system is capable of receiving face tracking input by extending the XrSystemProperties with XrSystemFaceTrackingProperties2FB structure when calling GetSystemProperties.

If an application calls CreateFaceTracker2FB only with unsupported XrFaceTrackerCreateInfo2FB::requestedDataSources, the runtime must return ERROR_FEATURE_UNSUPPORTED from CreateFaceTracker2FB. For example, if an application calls CreateFaceTracker2FB only with FACE_TRACKING_DATA_SOURCE2_AUDIO_FB in XrFaceTrackerCreateInfo2FB::requestedDataSources when the runtime returns FALSE for supportsAudioFaceTracking, the runtime must return ERROR_FEATURE_UNSUPPORTED from CreateFaceTracker2FB.

Valid Usage (Implicit)

Layout


 struct XrSystemFaceTrackingProperties2FB {
     XrStructureType type();
     void * next();
     XrBool32 supportsVisualFaceTracking();
     XrBool32 supportsAudioFaceTracking();
 }
  • 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.
    • SUPPORTSVISUALFACETRACKING

      public static final int SUPPORTSVISUALFACETRACKING
      The struct member offsets.
    • SUPPORTSAUDIOFACETRACKING

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

    • XrSystemFaceTrackingProperties2FB

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