Name | Type | Description |
---|---|---|
renderer |
PIXI.Renderer |
The renderer this System works for. |
Extends
Members
-
The clear background color as rgba
-
current PIXI.RenderTexture readonly
-
Render texture
-
defaultMaskStack Array.<PIXI.Graphics> readonly
-
List of masks for the StencilSystem
-
destinationFrame PIXI.Rectangle readonly
-
Destination frame
-
renderer PIXI.Renderer inherited
-
The renderer this manager works for.
-
sourceFrame PIXI.Rectangle readonly
-
Source frame
Methods
-
Bind the current render texture
Name Type Default Description renderTexture
PIXI.RenderTexture null sourceFrame
PIXI.Rectangle destinationFrame
PIXI.Rectangle -
clear (clearColor)PIXI.Renderer
-
Erases the render texture and fills the drawing area with a colour
Name Type Description clearColor
Array.<number> optional The color as rgba, default to use the renderer backgroundColor
Returns:
Type Description PIXI.Renderer Returns itself. -
contextChange (gl) inherited
-
Generic method called when there is a WebGL context change.
Name Type Description gl
WebGLRenderingContext new webgl context
-
destroy () inherited
-
Generic destroy methods to be overridden by the subclass
-
Resets renderTexture state