Class XrFoveationEyeTrackedStateMETA

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

public class XrFoveationEyeTrackedStateMETA extends org.lwjgl.system.Struct<XrFoveationEyeTrackedStateMETA> implements org.lwjgl.system.NativeResource
Foveation data returned from the runtime.
Description

XrFoveationEyeTrackedStateMETA must be provided when calling GetFoveationEyeTrackedStateMETA. The runtime must interpret XrFoveationEyeTrackedStateMETA without any additional structs in its next chain in order to query eye tracked foveation state, e.g. the center of the foveal region.

Valid Usage (Implicit)
See Also

XrVector2f, GetFoveationEyeTrackedStateMETA

Layout


 struct XrFoveationEyeTrackedStateMETA {
     XrStructureType type();
     void * next();
     XrVector2f foveationCenter()[XR_FOVEATION_CENTER_SIZE_META];
     XrFoveationEyeTrackedStateFlagsMETA flags();
 }
  • 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.
    • FOVEATIONCENTER

      public static final int FOVEATIONCENTER
      The struct member offsets.
    • FLAGS

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

    • XrFoveationEyeTrackedStateMETA

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