C Specification
The xrEnumerateEnvironmentDepthSwapchainImagesMETA function is defined as:
// Provided by XR_META_environment_depth
XrResult xrEnumerateEnvironmentDepthSwapchainImagesMETA(
    XrEnvironmentDepthSwapchainMETA             swapchain,
    uint32_t                                    imageCapacityInput,
    uint32_t*                                   imageCountOutput,
    XrSwapchainImageBaseHeader*                 images);Parameters
Description
xrEnumerateEnvironmentDepthSwapchainImagesMETA fills an array of
graphics API-specific XrSwapchainImage* structures derived from
XrSwapchainImageBaseHeader.
The resources must be constant and valid for the lifetime of the
XrEnvironmentDepthSwapchainMETA.
This function behaves analogously to xrEnumerateSwapchainImages.
Runtimes must always return identical buffer contents from this enumeration for the lifetime of the swapchain.
Note: images is a pointer to an array of structures of graphics
API-specific type, not an array of structure pointers.
The pointer submitted as images will be treated as an array of the
expected graphics API-specific type based on the graphics API used at
session creation time.
If the type member of any array element accessed in this way does not match
the expected value, the runtime must return
XR_ERROR_VALIDATION_FAILURE.
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.