Class EngineFactory
Hierarchy
- EngineFactory
Index
Methods
Methods
Static Create AsyncSearch playground for CreateAsync
-
Creates an engine based on the capabilities of the underlying hardware
Parameters
-
canvas: HTMLCanvasElement
Defines the canvas to use to display the result
-
options: any
Defines the options passed to the engine to create the context dependencies
Returns Promise<ThinEngine>
a promise that resolves with the created engine
-
Helper class to create the best engine depending on the current hardware