Hierarchy

  • default

Constructors

  • Parameters

    • canvas: HTMLCanvasElement
    • gl: WebGL2RenderingContext
    • version: number

    Returns default

Properties

canvas: HTMLCanvasElement
gl: WebGL2RenderingContext
resourceLoader: default = ...
version: number

Methods

  • Returns void

  • Returns void

  • Returns void

  • Initializes shaders and resource loader

    Returns Promise<void>

  • Completes once the context is ready for rendering

    Parameters

    • Optional background: boolean

    Returns Promise<void>

  • Returns Promise<void>

Generated using TypeDoc