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.
-
scissorRenderTarget PIXI.DisplayObject readonly
-
Target to mask
Methods
-
destroy () inherited
-
Generic destroy methods to be overridden by the subclass
-
Sets type of MaskData based on its maskObject
Name Type Description maskData
PIXI.MaskData -
Removes the last mask from the mask stack and doesn't return it. Renderer batch must be flushed beforehand.
Name Type Description target
PIXI.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 target
PIXI.DisplayObject Display Object to push the mask to
maskData
PIXI.MaskData | PIXI.Sprite | PIXI.Graphics | PIXI.DisplayObject The masking data.
-
Applies the Mask and adds it to the current filter stack.
Name Type Description maskData
PIXI.MaskData Sprite to be used as the mask
-
Changes the mask stack that is used by this System.
Name Type Description maskStack
Array.<PIXI.MaskData> The mask stack