The xrEnumerateSwapchainImages function is defined as:
// Provided by XR_VERSION_1_0 XrResult xrEnumerateSwapchainImages( XrSwapchain swapchain, uint32_t imageCapacityInput, uint32_t* imageCountOutput, XrSwapchainImageBaseHeader* images);
Fills an array of graphics API-specific
The resources must be constant and valid for the lifetime of the
Runtimes must always return identical buffer contents from this enumeration for the lifetime of the swapchain.
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.
type member of any array element accessed in this way does not
match the expected value, the runtime must return
Under a typical memory model, a runtime must treat the supplied pointer as
an opaque blob beginning with XrSwapchainImageBaseHeader, until after
it has verified the
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-2022 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.