C Specification

The XrSystemSpatialSensingPropertiesBD structure is defined as:

// Provided by XR_BD_spatial_sensing
typedef struct XrSystemSpatialSensingPropertiesBD {
    XrStructureType    type;
    void*              next;
    XrBool32           supportsSpatialSensing;
} XrSystemSpatialSensingPropertiesBD;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain.

  • supportsSpatialSensing is an XrBool32, indicating if current system is capable of spatial sensing.

Description

An application can inspect whether the system is capable of spatial sensing by chaining an XrSystemSpatialSensingPropertiesBD structure to the XrSystemProperties::next chain when calling xrGetSystemProperties.

If a runtime returns XR_FALSE for supportsSpatialSensing, the system does not support spatial sensing, and the runtime must return XR_ERROR_FEATURE_UNSUPPORTED from xrCreateSenseDataProviderBD.

If a runtime returns XR_TRUE for supportsSpatialSensing, the system supports spatial sensing.

Valid Usage (Implicit)

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-2025 The Khronos Group Inc.