C Specification

The xrGetSpaceRoomMeshFaceIndicesMETA function is defined as:

// Provided by XR_META_spatial_entity_room_mesh
XrResult xrGetSpaceRoomMeshFaceIndicesMETA(
    XrSpace                                     space,
    const XrUuid*                               faceUuid,
    XrRoomMeshFaceIndicesMETA*                  roomMeshFaceIndicesOutput);

Parameters

Parameter Descriptions

Description

The xrGetSpaceRoomMeshFaceIndicesMETA function is used by the application to perform the two calls required to obtain indices of a face specified by faceUuid of a room mesh associated with a spatial entity specified by space.

If the spatial entity space does not have the XR_SPACE_COMPONENT_TYPE_ROOM_MESH_META component type enabled, this function must return XR_ERROR_SPACE_COMPONENT_NOT_ENABLED_FB.

Valid Usage (Implicit)
Return Codes
On success, this command returns
  • XR_SUCCESS

  • XR_SESSION_LOSS_PENDING

On failure, this command returns
  • XR_ERROR_FEATURE_UNSUPPORTED

  • XR_ERROR_FUNCTION_UNSUPPORTED

  • XR_ERROR_HANDLE_INVALID

  • XR_ERROR_INSTANCE_LOST

  • XR_ERROR_RUNTIME_FAILURE

  • XR_ERROR_SESSION_LOST

  • XR_ERROR_SIZE_INSUFFICIENT

  • XR_ERROR_SPACE_COMPONENT_NOT_ENABLED_FB

  • XR_ERROR_VALIDATION_FAILURE

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.