new PIXI.MaskManager(renderer)
| Name | Type | Description |
|---|---|---|
renderer |
PIXI.WebGLRenderer |
The renderer this manager works for. |
Methods
-
popMask(target, maskData)
-
Removes the last mask from the mask stack and doesn't return it.
Name Type Description targetPIXI.RenderTarget maskDataArray.<any> -
popSpriteMask()
-
Removes the last filter from the filter stack and doesn't return it.
-
popStencilMask(target, maskData)
-
Removes the last filter from the filter stack and doesn't return it.
Name Type Description targetPIXI.RenderTarget maskDataArray.<any> -
pushMask(graphics, webGLData)
-
Applies the Mask and adds it to the current filter stack.
Name Type Description graphicsPIXI.Graphics webGLDataArray.<any> -
pushSpriteMask(target, maskData)
-
Applies the Mask and adds it to the current filter stack.
Name Type Description targetPIXI.RenderTarget maskDataArray.<any> -
pushStencilMask(target, maskData)
-
Applies the Mask and adds it to the current filter stack.
Name Type Description targetPIXI.RenderTarget maskDataArray.<any>