C Specification

The XrEventDataSpacesSaveResultMETA structure is defined as:

// Provided by XR_META_spatial_entity_persistence
typedef struct XrEventDataSpacesSaveResultMETA {
    XrStructureType       type;
    const void*           next;
    XrAsyncRequestIdFB    requestId;
    XrResult              result;
} XrEventDataSpacesSaveResultMETA;

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.

  • requestId is the XrAsyncRequestIdFB of the asynchronous request to save spaces.

  • result is an XrResult that describes whether the request succeeded, had any warnings, or if an error occurred.

Description

This event conveys the results of the asynchronous operation started by xrSaveSpacesMETA.

The XrEventDataSpacesSaveResultMETA event contains the result of the save/write operation, as well as the XrAsyncRequestIdFB of the operation.

Potential XrEventDataSpacesSaveResultMETA::result values include the following XrResult enumerants:

Async Return Codes
Success
  • XR_SUCCESS

Failure
  • XR_ERROR_RUNTIME_FAILURE

  • XR_ERROR_SPACE_INSUFFICIENT_RESOURCES_META

  • XR_ERROR_SPACE_STORAGE_AT_CAPACITY_META

  • XR_ERROR_SPACE_INSUFFICIENT_VIEW_META

  • XR_ERROR_SPACE_PERMISSION_INSUFFICIENT_META

  • XR_ERROR_SPACE_RATE_LIMITED_META

  • XR_ERROR_HANDLE_INVALID

  • XR_ERROR_SPACE_RATE_LIMITED_META

  • XR_ERROR_VALIDATION_FAILURE

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.