C Specification

The XrQueriedSenseDataBD structure is defined as:

// Provided by XR_BD_spatial_sensing
typedef struct XrQueriedSenseDataBD {
    XrStructureType            type;
    void*                      next;
    uint32_t                   stateCapacityInput;
    uint32_t                   stateCountOutput;
    XrSpatialEntityStateBD*    states;
} XrQueriedSenseDataBD;

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.

  • stateCapacityInput is the capacity of the states array, or 0 to indicate a request to retrieve the required capacity.

  • stateCountOutput is a pointer to the count of states written, or a pointer to the required capacity in the case that stateCapacityInput is insufficient.

  • states is an array of XrSpatialEntityStateBD filled in by the runtime, specifying the spatial entities in the snapshot.

  • See Buffer Size Parameters chapter for a detailed description of retrieving the required states size.

Description

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.