C Specification
The XrCreateSpatialPersistenceContextCompletionEXT structure is defined as:
// Provided by XR_EXT_spatial_persistence
typedef struct XrCreateSpatialPersistenceContextCompletionEXT {
XrStructureType type;
void* next;
XrResult futureResult;
XrSpatialPersistenceContextResultEXT createResult;
XrSpatialPersistenceContextEXT persistenceContext;
} XrCreateSpatialPersistenceContextCompletionEXT;
Members
Description
If futureResult and createResult are both success codes,
persistenceContext must be valid.
If persistenceContext is valid, it must remain so within the
lifecycle of xrCreateSpatialPersistenceContextAsyncEXT::session
or until the application uses xrDestroySpatialPersistenceContextEXT
with persistenceContext, whichever comes first.
The runtime must set createResult only if futureResult is a
success code.
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.