C Specification

The XrSpatialEntityLocationGetInfoBD structure is defined as:

// Provided by XR_BD_spatial_sensing
typedef struct XrSpatialEntityLocationGetInfoBD {
    XrStructureType    type;
    const void*        next;
    XrSpace            baseSpace;
} XrSpatialEntityLocationGetInfoBD;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

  • baseSpace is an XrSpace within which the spatial entity will be located.

Description

Chaining this struct to XrSpatialEntityComponentGetInfoBD::next is required when querying certain component data with xrGetSpatialEntityComponentDataBD. Otherwise, the runtime must return XR_ERROR_VALIDATION_FAILURE from xrGetSpatialEntityComponentDataBD. See the XrSpatialEntityComponentData* struct details for more information which components require this struct to be chained.

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.