C Specification
The XrSpatialComponentPersistenceListEXT structure is defined as:
// Provided by XR_EXT_spatial_persistence
typedef struct XrSpatialComponentPersistenceListEXT {
XrStructureType type;
void* next;
uint32_t persistDataCount;
XrSpatialPersistenceDataEXT* persistData;
} XrSpatialComponentPersistenceListEXT;
Members
Description
The runtime must return XR_ERROR_VALIDATION_FAILURE from
xrQuerySpatialComponentDataEXT if
XrSpatialComponentPersistenceListEXT is in the next chain of
XrSpatialComponentDataQueryResultEXT::next but
XR_SPATIAL_COMPONENT_TYPE_PERSISTENCE_EXT is not included in
XrSpatialComponentDataQueryConditionEXT::componentTypes.
The runtime must return XR_ERROR_SIZE_INSUFFICIENT from
xrQuerySpatialComponentDataEXT if persistDataCount is less than
XrSpatialComponentDataQueryResultEXT::entityIdCountOutput.
Unlike the other components, the runtime must set the data for
XR_SPATIAL_COMPONENT_TYPE_PERSISTENCE_EXT regardless of the
XrSpatialEntityTrackingStateEXT.
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.