C Specification

The XrEventDataSpacesEraseResultMETA structure is defined as:

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

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 erase spaces.

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

Description

The XrEventDataSpacesEraseResultMETA event contains the result of the erase/write operation, as well as the XrAsyncRequestIdFB of the operation.

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

Async Return Codes
Success
  • XR_SUCCESS

Failure
  • XR_ERROR_SPACE_INSUFFICIENT_RESOURCES_META

  • XR_ERROR_SPACE_PERMISSION_INSUFFICIENT_META

  • XR_ERROR_SPACE_RATE_LIMITED_META

  • XR_ERROR_RUNTIME_FAILURE

  • 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.