Hierarchy

  • RenderCanvas

Methods

Constructors

Accessors

Properties

Methods

  • Parameters

    • canvas: HTMLCanvasElement | OffscreenCanvas
    • Optional contextAttributes: WebGLContextAttributes

    Returns RenderCanvas

Constructors

  • Parameters

    • canvas: HTMLCanvasElement | OffscreenCanvas
    • Optional contextAttributes: WebGLContextAttributes

    Returns RenderCanvas

Accessors

  • get canvas(): null | HTMLCanvasElement | OffscreenCanvas
  • Returns null | HTMLCanvasElement | OffscreenCanvas

Properties

_canvas: null | HTMLCanvasElement | OffscreenCanvas = null
_glContext: null | BackendContext = null
retainCount: number = 0

Generated using TypeDoc