C Specification
// Provided by XR_EXT_spatial_entity
XR_DEFINE_ATOM(XrSpatialBufferIdEXT)
Description
XrSpatialBufferIdEXT is used to represent any kind of variable sized data for a spatial component.
The runtime must keep the XrSpatialBufferIdEXT and its data in
memory for at least the lifecycle of the XrSpatialSnapshotEXT that
contains it.
The runtime may keep the XrSpatialBufferIdEXT and its data in
memory for longer than the lifecycle of the XrSpatialSnapshotEXT in
order to return the same ID as part of snapshots created later on by the
application.
For the same XrSpatialBufferIdEXT, the runtime must always return
the same data via the appropriate xrGetSpatialBuffer* function.
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.