C Specification

// Provided by XR_EXT_spatial_entity
typedef enum XrSpatialCapabilityEXT {
  // Provided by XR_EXT_spatial_plane_tracking
    XR_SPATIAL_CAPABILITY_PLANE_TRACKING_EXT = 1000741000,
  // Provided by XR_EXT_spatial_marker_tracking
    XR_SPATIAL_CAPABILITY_MARKER_TRACKING_QR_CODE_EXT = 1000743000,
  // Provided by XR_EXT_spatial_marker_tracking
    XR_SPATIAL_CAPABILITY_MARKER_TRACKING_MICRO_QR_CODE_EXT = 1000743001,
  // Provided by XR_EXT_spatial_marker_tracking
    XR_SPATIAL_CAPABILITY_MARKER_TRACKING_ARUCO_MARKER_EXT = 1000743002,
  // Provided by XR_EXT_spatial_marker_tracking
    XR_SPATIAL_CAPABILITY_MARKER_TRACKING_APRIL_TAG_EXT = 1000743003,
  // Provided by XR_EXT_spatial_anchor
    XR_SPATIAL_CAPABILITY_ANCHOR_EXT = 1000762000,
    XR_SPATIAL_CAPABILITY_MAX_ENUM_EXT = 0x7FFFFFFF
} XrSpatialCapabilityEXT;

Description

The XrSpatialCapabilityEXT enumeration identifies the different types of capabilities that the runtime may support.

The enumerants have the following values:

Enum Description

XR_SPATIAL_CAPABILITY_PLANE_TRACKING_EXT

Plane tracking (Added by the XR_EXT_spatial_plane_tracking extension)

XR_SPATIAL_CAPABILITY_MARKER_TRACKING_QR_CODE_EXT

Capability to be able to detect and track QR codes. (Added by the XR_EXT_spatial_marker_tracking extension)

XR_SPATIAL_CAPABILITY_MARKER_TRACKING_MICRO_QR_CODE_EXT

Capability to be able to detect and track Micro QR codes. (Added by the XR_EXT_spatial_marker_tracking extension)

XR_SPATIAL_CAPABILITY_MARKER_TRACKING_ARUCO_MARKER_EXT

Capability to be able to detect and track Aruco Markers. (Added by the XR_EXT_spatial_marker_tracking extension)

XR_SPATIAL_CAPABILITY_MARKER_TRACKING_APRIL_TAG_EXT

Capability to be able to detect and track AprilTags. (Added by the XR_EXT_spatial_marker_tracking extension)

XR_SPATIAL_CAPABILITY_ANCHOR_EXT

Capability to be able to create spatial anchors (Added by the XR_EXT_spatial_anchor extension)

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 2014-2025 The Khronos Group Inc.