API

Function registerScene

  • Register a scene with the engine. Builds deferred work, sorts renderables by order, and adds the scene to its bound surface's render list in overlay order. The scene is always attached to scene.surface (which equals the engine itself in the single-canvas case).

    Parameters

    Returns Promise<void>