C Specification
The XrRoomMeshMETA structure is defined as:
// Provided by XR_META_spatial_entity_room_mesh
typedef struct XrRoomMeshMETA {
XrStructureType type;
void* next;
uint32_t vertexCapacityInput;
uint32_t vertexCountOutput;
XrVector3f* vertices;
uint32_t faceCapacityInput;
uint32_t faceCountOutput;
XrRoomMeshFaceMETA* faces;
} XrRoomMeshMETA;
Members
Description
The application uses the XrRoomMeshMETA structure to perform the two calls required to obtain a room mesh associated with a specified spatial entity.
The output values written in the faces array represent faces of the
room mesh.
Each face is represented with an XrRoomMeshFaceMETA structure as well
as an XrRoomMeshFaceIndicesMETA structure that can be separately
obtained by using the xrGetSpaceRoomMeshFaceIndicesMETA function.
The faces of the room mesh must define a closed 3D volume.
The faces must not have overlaps with each other.
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
Copyright 2014-2026 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.