C Specification

The XrLightEstimateANDROID structure contains light estimation data:

// Provided by XR_ANDROID_light_estimation
typedef struct XrLightEstimateANDROID {
    XrStructureType                type;
    void*                          next;
    XrLightEstimateStateANDROID    state;
    XrTime                         lastUpdatedTime;
} XrLightEstimateANDROID;

Members

Member Descriptions

Description

For every light estimate struct if the state is XR_LIGHT_ESTIMATE_STATE_INVALID_ANDROID, then all other fields in the struct are arbitrary, meaning their values are undefined.

To obtain light estimate information for ambient light, spherical harmonics and the primary directional light, applications can chain instances of the following structures, XrAmbientLightANDROID, XrSphericalHarmonicsANDROID, and XrDirectionalLightANDROID respectively to XrLightEstimateANDROID::next.

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.