System plugin to the renderer to manage the context.

Memberof

PIXI

Implements

Constructors

  • Parameters

    • renderer: Renderer

      The renderer this System works for.

    Returns ContextSystem

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.

Member

Deprecated

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

  • Parameters

    Returns void

Generated using TypeDoc