SpatialMLSession
A handle to each session of SpatialML framework usage. For each session, a dedicated SpatialML container for securely rendering mixed-reality components will be allocated.
One session handle must be linked to a SpatialMLInstance, on which the framework session's lifecycle depends.
Parameters
The SpatialMLInstance the session is associated with.
The configuration during initialization.
Throws
If the usage is not allowed by the SpatialML run-time Framework, or if the framework encounter internal error and cannot perform the requested behavior.
Types
Factory methods and constants for SpatialMLSession.
SpatialML container's type.
Configuration structure for framework session handle.
Properties
The BaseHandle's implementation's destructor.
Functions
Load a SecureMR pipeline package from application assets.
Creates new global tensors within the context of current framework session.
Creates a new pipeline within the context of current framework session.
Creates an SpatialML scene from a glTF file already loaded into SharedMemory.
Creates an SpatialML scene from a glTF file in asset.
Async version of newSceneFromGLTF.