C Specification
The xrCreateSceneMeshingTrackerANDROID function is defined as:
// Provided by XR_ANDROID_scene_meshing
XrResult xrCreateSceneMeshingTrackerANDROID(
XrSession session,
const XrSceneMeshingTrackerCreateInfoANDROID* createInfo,
XrSceneMeshingTrackerANDROID* tracker);
Parameters
Description
An application can create an XrSceneMeshingTrackerANDROID handle using the xrCreateSceneMeshingTrackerANDROID function.
If the system does not support scene meshing, the runtime must return
XR_ERROR_FEATURE_UNSUPPORTED from
xrCreateSceneMeshingTrackerANDROID.
In this case, the runtime must return XR_FALSE for
XrSystemSceneMeshingPropertiesANDROID::supportsSceneMeshing when
the xrGetSystemProperties function is called, so that the application
can avoid creating a scene meshing tracker.
The application must only use the semantic label sets that are supported by
the system in
XrSceneMeshingTrackerCreateInfoANDROID::semanticLabelSet when
creating a scene meshing tracker.
If the application uses an unsupported scene mesh vertex semantic label set,
the runtime must return XR_ERROR_FEATURE_UNSUPPORTED from
xrCreateSceneMeshingTrackerANDROID.
The application can enumerate the list of supported semantic label sets with the xrEnumerateSupportedSemanticLabelSetsANDROID function.
The xrCreateSceneMeshingTrackerANDROID handle owns all the resources for scene meshing. Once finished with scene meshing experience, the application must destroy the handle via the xrDestroySceneMeshingTrackerANDROID function.
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.