C Specification

The XrEventDataSpaceShareCompleteFB structure is defined as:

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

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 ID of the asynchronous request used to share the spatial entities.

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

Description

It indicates that the request to share one or more spatial entities has completed. The application can use result to check if the request was successful or if an error occurred.

Result Codes
On success, the value of this parameter is
  • XR_SUCCESS

On failure, the value of this parameter is
  • XR_ERROR_RUNTIME_FAILURE

  • XR_ERROR_SPACE_MAPPING_INSUFFICIENT_FB

  • XR_ERROR_SPACE_LOCALIZATION_FAILED_FB

  • XR_ERROR_SPACE_NETWORK_TIMEOUT_FB

  • XR_ERROR_SPACE_NETWORK_REQUEST_FAILED_FB

  • XR_ERROR_SPACE_CLOUD_STORAGE_DISABLED_FB

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-2024, The Khronos Group Inc.