C Specification

The XrEyeIndexANDROID enumeration identifies the index of the left or right eyes.

// Provided by XR_ANDROID_eye_tracking
typedef enum XrEyeIndexANDROID {
    XR_EYE_INDEX_LEFT_ANDROID = 0,
    XR_EYE_INDEX_RIGHT_ANDROID = 1,
    XR_EYE_INDEX_MAX_ENUM_ANDROID = 0x7FFFFFFF
} XrEyeIndexANDROID;

Description

The enums have the following meanings:

Enum Description

XR_EYE_INDEX_LEFT_ANDROID

Left eye.

XR_EYE_INDEX_RIGHT_ANDROID

Right eye.

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.