C Specification
The XrEnvironmentDepthImageMETA structure is defined as:
// Provided by XR_META_environment_depth
typedef struct XrEnvironmentDepthImageMETA {
    XrStructureType                    type;
    const void*                        next;
    uint32_t                           swapchainIndex;
    float                              nearZ;
    float                              farZ;
    XrEnvironmentDepthImageViewMETA    views[2];
} XrEnvironmentDepthImageMETA;Members
Description
Depth is provided as textures in the same format as described in the
XR_KHR_composition_layer_depth extension.
The frustum’s Z-planes are placed at nearZ and farZ meters.
When farZ is less than nearZ, an infinite projection matrix is
used.
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
Copyright 2014-2025 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.