Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EngineFactory

Helper class to create the best engine depending on the current hardware

Hierarchy

  • EngineFactory

Index

Methods

Methods

Static CreateAsyncSearch 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<Engine>

    a promise that resolves with the created engine

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method