Class XrSystemFacialTrackingPropertiesHTC

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

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

An application can inspect whether the system is capable of two of the facial tracking by extending the XrSystemProperties with XrSystemFacialTrackingPropertiesHTC structure when calling GetSystemProperties.

Valid Usage (Implicit)

If a runtime returns FALSE for supportEyeFacialTracking, the runtime must return ERROR_FEATURE_UNSUPPORTED from CreateFacialTrackerHTC with FACIAL_TRACKING_TYPE_EYE_DEFAULT_HTC set for XrFacialTrackingTypeHTC in XrFacialTrackerCreateInfoHTC. Similarly, if a runtime returns FALSE for supportLipFacialTracking the runtime must return ERROR_FEATURE_UNSUPPORTED from CreateFacialTrackerHTC with FACIAL_TRACKING_TYPE_LIP_DEFAULT_HTC set for XrFacialTrackingTypeHTC in XrFacialTrackerCreateInfoHTC.

Layout


 struct XrSystemFacialTrackingPropertiesHTC {
     XrStructureType type();
     void * next();
     XrBool32 supportEyeFacialTracking();
     XrBool32 supportLipFacialTracking();
 }
  • 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.
    • SUPPORTEYEFACIALTRACKING

      public static final int SUPPORTEYEFACIALTRACKING
      The struct member offsets.
    • SUPPORTLIPFACIALTRACKING

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

    • XrSystemFacialTrackingPropertiesHTC

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