C Specification
The XrSpatialMarkerStaticOptimizationEXT structure is defined as:
// Provided by XR_EXT_spatial_marker_tracking
typedef struct XrSpatialMarkerStaticOptimizationEXT {
    XrStructureType    type;
    const void*        next;
    XrBool32           optimizeForStaticMarker;
} XrSpatialMarkerStaticOptimizationEXT;Members
Description
If XR_SPATIAL_CAPABILITY_FEATURE_MARKER_TRACKING_STATIC_MARKERS_EXT is
enumerated by xrEnumerateSpatialCapabilityFeaturesEXT for a certain
capability, and if the application chains
XrSpatialMarkerStaticOptimizationEXT to the corresponding
configuration structure of that capability, the runtime must assume that
all markers detected are static if optimizeForStaticMarker is set to
XR_TRUE.
This allows the runtime to generate a more accurate pose and size.
This structure must be linked into the next chain of
XrSpatialCapabilityConfigurationQrCodeEXT,
XrSpatialCapabilityConfigurationMicroQrCodeEXT,
XrSpatialCapabilityConfigurationArucoMarkerEXT, or
XrSpatialCapabilityConfigurationAprilTagEXT.
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-2025 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.