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
Properties
The BaseHandle's implementation's destructor.
Functions
Create new global tensors within the context of current framework session.
Create a new pipeline within the context of current framework session.
Create an SpatialML scene from a glTF file already loaded into SharedMemory.
Create an SpatialML scene from a glTF file in asset.
Async version of newSceneFromGLTF.