Class XrSystemEyeTrackingPropertiesFB

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

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

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

If a runtime returns FALSE for supportsEyeTracking, the runtime must return ERROR_FEATURE_UNSUPPORTED from CreateEyeTrackerFB.

Valid Usage (Implicit)

Layout


 struct XrSystemEyeTrackingPropertiesFB {
     XrStructureType type();
     void * next();
     XrBool32 supportsEyeTracking();
 }
  • 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.
    • SUPPORTSEYETRACKING

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

    • XrSystemEyeTrackingPropertiesFB

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