C Specification
The XrSpatialDiscoveryUniqueEntitiesFilterANDROID structure is defined as:
// Provided by XR_ANDROID_spatial_component_subsumed_by
typedef struct XrSpatialDiscoveryUniqueEntitiesFilterANDROID {
XrStructureType type;
const void* next;
} XrSpatialDiscoveryUniqueEntitiesFilterANDROID;
Members
Description
The application can include
XrSpatialDiscoveryUniqueEntitiesFilterANDROID in the next chain
of XrSpatialDiscoverySnapshotCreateInfoEXT to get a snapshot with
entities that are not subsumed by another entity.
If applications chain XrSpatialDiscoveryUniqueEntitiesFilterANDROID to
XrSpatialDiscoverySnapshotCreateInfoEXT while including
XR_SPATIAL_COMPONENT_TYPE_SUBSUMED_BY_ANDROID component in the
XrSpatialDiscoverySnapshotCreateInfoEXT::componentTypes, the
runtime must return XR_ERROR_VALIDATION_FAILURE.
If application chains XrSpatialDiscoveryUniqueEntitiesFilterANDROID to
XrSpatialDiscoverySnapshotCreateInfoEXT but does not list any
components in
XrSpatialDiscoverySnapshotCreateInfoEXT::componentTypes, the
runtime must include all the spatial entities in the snapshot that have the
set of components which are enumerated in
XrSpatialCapabilityConfigurationBaseHeaderEXT::enabledComponents
for the capabilities configured for spatialContext, except entities that
have the XR_SPATIAL_COMPONENT_TYPE_SUBSUMED_BY_ANDROID component.
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.