C Specification

The XrEyesANDROID structure contains information about the tracked eyes.

// Provided by XR_ANDROID_eye_tracking
typedef struct XrEyesANDROID {
    XrStructureType             type;
    void*                       next;
    XrEyeANDROID                eyes[XR_EYE_MAX_ANDROID];
    XrEyeTrackingModeANDROID    mode;
} XrEyesANDROID;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

  • eyes is an array of XrEyeANDROID, of size XR_EYE_MAX_ANDROID, for the left and right eyes as indexed by XrEyeIndexANDROID.

  • mode is the XrEyeTrackingModeANDROID indicating which of the eyes are currently tracking.

Description

Valid Usage (Implicit)

See Also

Document Notes

For more information, see the OpenXR Specification

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2026 The Khronos Group Inc.