Hierarchy

  • WebGlRendererContext

Implements

Constructors

Properties

canvas: HTMLCanvasElement
gl: WebGL2RenderingContext
renderer: Renderer
viewport: IVector2 = ...
webGlContext: WebGlContext

Accessors

  • get asWebGpu(): undefined
  • Returns undefined

  • get isWebGl2(): boolean
  • Returns boolean

Methods

  • Parameters

    • id: string
    • capacity: number
    • depthOffset: number = 0.0
    • yOffset: number = 0.0
    • enableAlphaMultiplcation: boolean = true
    • enforceBeginAndEnd: boolean = true

    Returns ISpriteBatch

  • Parameters

    • viewportOffsetX: number
    • rendererWidth: number
    • canvasHeight: number
    • Optional post: boolean

    Returns void

  • Called for the primary renderer

    Parameters

    • timeStamp: number
    • renderersOrder: Set<Renderer>

    Returns void

  • Parameters

    Returns void

Generated using TypeDoc