C Specification
The XrSpatialCapabilityConfigurationAprilTagEXT structure is defined as:
// Provided by XR_EXT_spatial_marker_tracking
typedef struct XrSpatialCapabilityConfigurationAprilTagEXT {
XrStructureType type;
const void* next;
XrSpatialCapabilityEXT capability;
uint32_t enabledComponentCount;
const XrSpatialComponentTypeEXT* enabledComponents;
XrSpatialMarkerAprilTagDictEXT aprilDict;
} XrSpatialCapabilityConfigurationAprilTagEXT;
Members
Description
If AprilTags are supported, the runtime must enable AprilTag tracking when
an XrSpatialCapabilityConfigurationAprilTagEXT structure is passed in
XrSpatialContextCreateInfoEXT::capabilityConfigs when calling
xrCreateSpatialContextAsyncEXT.
The runtime must return XR_ERROR_SPATIAL_CAPABILITY_UNSUPPORTED_EXT
from xrCreateSpatialContextAsyncEXT if an
XrSpatialCapabilityConfigurationAprilTagEXT structure is in
XrSpatialContextCreateInfoEXT::capabilityConfigs but
XR_SPATIAL_CAPABILITY_MARKER_TRACKING_APRIL_TAG_EXT is not enumerated
by xrEnumerateSpatialCapabilitiesEXT.
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.