C Specification

The XrEventDataSpaceDiscoveryCompleteMETA structure is defined as:

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

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

  • result the XrResult indicating the success, success with warnings, or failure of the Discovery operation.

Description

The XrEventDataSpaceDiscoveryCompleteMETA event indicates that there must be no more XrEventDataSpaceDiscoveryResultsAvailableMETA queued and that Discovery has completed execution.

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

  • XR_SUCCESS

  • XR_ERROR_RUNTIME_FAILURE

  • XR_ERROR_SPACE_INSUFFICIENT_RESOURCES_META

  • XR_ERROR_SPACE_INSUFFICIENT_VIEW_META

  • XR_ERROR_SPACE_PERMISSION_INSUFFICIENT_META

  • XR_ERROR_SPACE_RATE_LIMITED_META

  • XR_ERROR_SPACE_TOO_DARK_META

  • XR_ERROR_SPACE_TOO_BRIGHT_META

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.