Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • EngineFactory

Index

Constructors

Methods

Constructors

Methods

  • CreateAsync(canvas: HTMLCanvasElement, options: any): Promise<Engine>
  • 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 constructor
  • Static method

Settings

Theme