System plugin to the renderer to manage the context.

PIXI

Implements

Constructors

Properties

extensions: WebGLExtensions

Extensions available.

powerPreference: WebGLPowerPreference
preserveDrawingBuffer: boolean
supports: ISupportDict

Features supported by current context.

useContextAlpha: boolean | "notMultiplied"

Pass-thru setting for the canvas' context alpha property. This is typically not something you need to fiddle with. If you want transparency, use backgroundAlpha.

since 7.0.0

webGLVersion: number

Either 1 or 2 to reflect the WebGL version being used.

Accessors

  • get isLost(): boolean
  • true if the context is lost

    Returns boolean

Methods

  • Generic destroy methods to be overridden by the subclass

    Returns void