C Specification

The XrFutureCompletionBaseHeaderEXT structure is defined as:

// Provided by XR_EXT_future
typedef struct XrFutureCompletionBaseHeaderEXT {
    XrStructureType    type;
    void*              next;
    XrResult           futureResult;
} XrFutureCompletionBaseHeaderEXT;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

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

  • futureResult is XrResult of the async operation associated with future passed to the completion function.

Description

XrFutureCompletionBaseHeaderEXT is a base header for the result of a future completion function.

Valid Usage (Implicit)
  • The XR_EXT_future extension must be enabled prior to using XrFutureCompletionBaseHeaderEXT

  • type must be one of the following XrStructureType values: XR_TYPE_CREATE_SPATIAL_ANCHORS_COMPLETION_ML, XR_TYPE_CREATE_SPATIAL_CONTEXT_COMPLETION_EXT, XR_TYPE_CREATE_SPATIAL_DISCOVERY_SNAPSHOT_COMPLETION_EXT, XR_TYPE_CREATE_SPATIAL_PERSISTENCE_CONTEXT_COMPLETION_EXT, XR_TYPE_FUTURE_COMPLETION_EXT, XR_TYPE_PERSIST_SPATIAL_ENTITY_COMPLETION_EXT, XR_TYPE_SENSE_DATA_QUERY_COMPLETION_BD, XR_TYPE_SPATIAL_ANCHOR_CREATE_COMPLETION_BD, XR_TYPE_SPATIAL_ANCHORS_DELETE_COMPLETION_ML, XR_TYPE_SPATIAL_ANCHORS_PUBLISH_COMPLETION_ML, XR_TYPE_SPATIAL_ANCHORS_QUERY_COMPLETION_ML, XR_TYPE_SPATIAL_ANCHORS_UPDATE_EXPIRATION_COMPLETION_ML, XR_TYPE_UNPERSIST_SPATIAL_ENTITY_COMPLETION_EXT, XR_TYPE_WORLD_MESH_REQUEST_COMPLETION_ML, XR_TYPE_WORLD_MESH_STATE_REQUEST_COMPLETION_ML

  • next must be NULL or a valid pointer to the next structure in a structure chain

  • futureResult must be a valid XrResult value

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.