C Specification
The XrSpatialCapabilityConfigurationDepthRaycastANDROID structure is defined as:
// Provided by XR_ANDROID_spatial_discovery_raycast
typedef struct XrSpatialCapabilityConfigurationDepthRaycastANDROID {
XrStructureType type;
const void* next;
XrSpatialCapabilityEXT capability;
uint32_t enabledComponentCount;
const XrSpatialComponentTypeEXT* enabledComponents;
} XrSpatialCapabilityConfigurationDepthRaycastANDROID;
Members
Description
Anpplications can enable the
XR_SPATIAL_CAPABILITY_DEPTH_RAYCAST_ANDROID spatial capability by
including a pointer to an
XrSpatialCapabilityConfigurationDepthRaycastANDROID structure in
XrSpatialContextCreateInfoEXT::capabilityConfigs.
The runtime must return XR_ERROR_VALIDATION_FAILURE if
capability is not XR_SPATIAL_CAPABILITY_DEPTH_RAYCAST_ANDROID.
The ID of entities discovered via this capability is always
XR_NULL_SPATIAL_ENTITY_ID_EXT.
This also means that application can not create an XrSpatialEntityEXT
handle for these entities, and thus they can not be included in
XrSpatialUpdateSnapshotCreateInfoEXT::entities to create a
update snapshot
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-2026 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.