C Specification
The XrSoundObjectDistanceAttenuationCurveBD structure is defined as:
// Provided by XR_BD_spatial_audio_rendering
typedef struct XrSoundObjectDistanceAttenuationCurveBD {
XrStructureType type;
const void* next;
uint32_t curvePointCount;
XrAttenuationCurvePointBD* curvePoints;
} XrSoundObjectDistanceAttenuationCurveBD;
Members
Description
If the propagation distance falls between two points in the curve, the runtime must calculate attenuation by linear interpolation.
If the propagation distance is less than the first point in the curve, the runtime must use the attenuation of the first point.
If the propagation distance is greater than the last point in the curve, the runtime must use the attenuation of the last point.
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.