| Name | Type | Description |
|---|---|---|
renderer |
PIXI.Renderer |
The renderer this System works for. |
Extends
Members
-
Current index of alpha mask pool
- Default Value:
- 0
-
alphaMaskPool Array.<PIXI.SpriteMaskFilter> readonly
-
Pool of used sprite mask filters
-
Enable scissor
-
maskDataPool Array.<PIXI.MaskData> readonly
-
Pool of mask data
-
renderer PIXI.Renderer inherited
-
The renderer this manager works for.
Methods
-
destroy () inherited
-
Generic destroy methods to be overridden by the subclass
-
Sets type of MaskData based on its maskObject
Name Type Description maskDataPIXI.MaskData -
Removes the last mask from the mask stack and doesn't return it. Renderer batch must be flushed beforehand.
Name Type Description targetPIXI.DisplayObject Display Object to pop the mask from
-
Removes the last filter from the filter stack and doesn't return it.
-
Applies the Mask and adds it to the current filter stack. Renderer batch must be flushed beforehand.
Name Type Description targetPIXI.DisplayObject Display Object to push the mask to
maskDataPIXI.MaskData | PIXI.Sprite | PIXI.Graphics | PIXI.DisplayObject The masking data.
-
Applies the Mask and adds it to the current filter stack.
Name Type Description maskDataPIXI.MaskData Sprite to be used as the mask
-
Changes the mask stack that is used by this System.
Name Type Description maskStackArray.<PIXI.MaskData> The mask stack