C Specification
The XrRoomMeshFaceIndicesMETA structure is defined as:
// Provided by XR_META_spatial_entity_room_mesh
typedef struct XrRoomMeshFaceIndicesMETA {
XrStructureType type;
void* next;
uint32_t indexCapacityInput;
uint32_t indexCountOutput;
uint32_t* indices;
} XrRoomMeshFaceIndicesMETA;
Members
Description
The XrRoomMeshFaceIndicesMETA structure can be used by the application to perform the two calls required to obtain indices of a face of a room mesh associated with a specified spatial entity.
The geometry of a face is represented as a set of triangles.
The output values written in the indices array represent indices of
the vertices obtained in XrRoomMeshMETA::vertices.
Three consecutive elements represent a triangle with a counter-clockwise
winding order.
Each face of a room mesh must be a planar face; i.e. the vertices of a face
must be coplanar.
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
Copyright 2014-2026 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.