C Specification
The XrSpatialBoundsFrustumfANDROID structure is defined as:
// Provided by XR_ANDROID_spatial_discovery_bounds
typedef struct XrSpatialBoundsFrustumfANDROID {
XrStructureType type;
const void* next;
XrSpace space;
XrTime time;
XrFrustumf frustum;
} XrSpatialBoundsFrustumfANDROID;
Members
Description
Spatial capabilities that support
XR_SPATIAL_CAPABILITY_FEATURE_FRUSTUM_BOUNDS_FILTER_ANDROID (as
enumerated by xrEnumerateSpatialCapabilityFeaturesEXT) allow the
application to restrict the discovery to spatial entities whose location or
bounds are within or intersecting with frustum by chaining
XrSpatialBoundsFrustumfANDROID to
XrSpatialDiscoverySnapshotCreateInfoEXT::next.
For a discovery snapshot in which the applicable capability supports
XR_SPATIAL_CAPABILITY_FEATURE_FRUSTUM_BOUNDS_FILTER_ANDROID, if this
structure is present in the next chain, the runtime must not include
any spatial entities whose location or bounds are entirely outside of
frustum.
It is important to note that the inclusion of
XrSpatialBoundsFrustumfANDROID in the next chain of
XrSpatialDiscoverySnapshotCreateInfoEXT acts as an 'AND' condition
with the other filters provided.
Entities coming from spatial capabilities that do not support
XR_SPATIAL_CAPABILITY_FEATURE_FRUSTUM_BOUNDS_FILTER_ANDROID must not
be included in the discovery snapshot.
This behavior is different from the rest of the OpenXR specification where
unrecognized or unsupported structures in the next pointer chain are ignored
by the runtime.
Also, as described in the https://registry.khronos.org/OpenXR/specs/1.1/html/xrspec.html#fundamentals-next-chain-structure-uniqueness
section, the runtime will only process the first occurrence of the
XrSpatialBoundsFrustumfANDROID structure in the next chain.
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.