| 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 renderTexturePIXI.RenderTexture null optional RenderTexture to bind, by default its
null, the screensourceFramePIXI.Rectangle optional part of screen that is mapped to the renderTexture
destinationFramePIXI.Rectangle optional part of renderTexture, by default it has the same size as sourceFrame
-
clear (clearColor)PIXI.Renderer
-
Erases the render texture and fills the drawing area with a colour
Name Type Description clearColorArray.<number> optional The color as rgba, default to use the renderer backgroundColor
Returns:
Type Description PIXI.Renderer Returns itself. -
destroy () inherited
-
Generic destroy methods to be overridden by the subclass
-
Resets renderTexture state