C Specification
The XrSoundTriangleMeshBD structure is described as:
// Provided by XR_BD_spatial_audio_rendering
typedef struct XrSoundTriangleMeshBD {
XrStructureType type;
const void* next;
uint32_t vertexCount;
XrVector3f* vertices;
uint32_t indexCount;
uint32_t* indices;
} XrSoundTriangleMeshBD;
Members
Description
The XrSoundTriangleMeshBD structure describes the shape of a sound
obstacle.
The vertices are in counter-clockwise order as viewed from the user
perspective.
Only the front faces are considered when rendering the sound.
The indices array defines the topology of the triangle mesh.
Each triplet of consecutive elements points to three vertices in the
vertices array and thus form a triangle.
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.