C Specification

The XrSpatialAnchorsCreateInfoFromUuidsML structure is defined as:

// Provided by XR_ML_spatial_anchors_storage
typedef struct XrSpatialAnchorsCreateInfoFromUuidsML {
    XrStructureType              type;
    const void*                  next;
    XrSpatialAnchorsStorageML    storage;
    uint32_t                     uuidCount;
    const XrUuidEXT*             uuids;
} XrSpatialAnchorsCreateInfoFromUuidsML;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain.

  • storage is the XrSpatialAnchorsStorageML to use.

  • uuidCount is the number of elements in the uuids array.

  • uuids is pointer to an array of XrUuidEXT.

Description

The XrSpace handle or handles returned via XrCreateSpatialAnchorsCompletionML::spaces must be in the same order as uuids.

The XrCreateSpatialAnchorsCompletionML::spaceCount field must match uuidCount. If not the runtime must return XR_ERROR_VALIDATION_FAILURE in XrCreateSpatialAnchorsCompletionML::futureResult.

If an anchor with a given UUID is not found, the runtime must return XR_NULL_HANDLE for the corresponding XrSpace handle(s) and return XR_SUCCESS in XrCreateSpatialAnchorsCompletionML::futureResult.

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.