C Specification

The XrSystemTrackablesPropertiesANDROID structure is defined as:

// Provided by XR_ANDROID_trackables
typedef struct XrSystemTrackablesPropertiesANDROID {
    XrStructureType    type;
    const void*        next;
    XrBool32           supportsAnchor;
    uint32_t           maxAnchors;
} XrSystemTrackablesPropertiesANDROID;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

  • supportsAnchor is an XrBool32 indicating if current system supports anchor creation via xrCreateAnchorSpaceANDROID for spatial anchors.

  • maxAnchors is the total maximum number of anchors supported by the runtime to be created via xrCreateAnchorSpaceANDROID of all types combined at any given time.

Description

To inspect whether the system is capable of creating spatial anchors an application calls xrCreateAnchorSpaceANDROID by extending the XrSystemProperties with XrSystemTrackablesPropertiesANDROID structure when calling xrGetSystemProperties. The runtime must return XR_ERROR_FEATURE_UNSUPPORTED for spatial anchor creation if and only if supportsAnchor is false.

If a runtime supports anchors, it must support maxAnchors active anchors at any given time.

To determine which trackable types are supported by the runtime for tracking and for anchor creation respectively an application calls xrEnumerateSupportedTrackableTypesANDROID and xrEnumerateSupportedAnchorTrackableTypesANDROID.

Valid Usage (Implicit)

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.