C Specification

The XrEnvironmentRaycasterCreateCompletionMETA structure is defined as:

// Provided by XR_META_environment_raycast
typedef struct XrEnvironmentRaycasterCreateCompletionMETA {
    XrStructureType               type;
    void*                         next;
    XrResult                      futureResult;
    XrEnvironmentRaycasterMETA    environmentRaycaster;
} XrEnvironmentRaycasterCreateCompletionMETA;

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.

  • futureResult is the XrResult of the environment raycaster creation operation.

  • environmentRaycaster is the returned XrEnvironmentRaycasterMETA handle.

Description

Future Return Codes
Success
  • XR_SUCCESS

  • XR_SESSION_LOSS_PENDING

Failure
  • XR_ERROR_RUNTIME_FAILURE

  • XR_ERROR_INSTANCE_LOST

  • XR_ERROR_SESSION_LOST

  • XR_ERROR_OUT_OF_MEMORY

  • XR_ERROR_FUNCTION_UNSUPPORTED

The XrEnvironmentRaycasterCreateCompletionMETA structure stores the result of the environment raycaster creation.

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