C Specification

The XrSenseDataProviderCreateInfoBD structure is defined as:

// Provided by XR_BD_spatial_sensing
typedef struct XrSenseDataProviderCreateInfoBD {
    XrStructureType              type;
    const void*                  next;
    XrSenseDataProviderTypeBD    providerType;
} XrSenseDataProviderCreateInfoBD;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

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

  • providerType is an XrSenseDataProviderTypeBD indicating the type of provider to create.

Description

When the application creates an XrSenseDataProviderBD, it must specify the type of provider via providerType. If the value of providerType is not valid given the current enabled extensions, the runtime must return XR_ERROR_VALIDATION_FAILURE. Some provider types have additional parameters passed via the XrSenseDataProviderCreateInfoBD::next chain.

If a valid provider type is specified in providerType but that type requires an additional configuration structure that is not provided in the next chain, the runtime must return XR_ERROR_VALIDATION_FAILURE. Note that in accordance with https://registry.khronos.org/OpenXR/specs/1.1/html/xrspec.html#fundamentals-valid-usage-for-structure-pointer-chains, configuration structures in the next chain for provider types other than the one indicated by providerType are ignored.

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.