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 target
PIXI.RenderTarget maskData
Array.<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 target
PIXI.RenderTarget maskData
Array.<any> -
pushMask(graphics, webGLData)
-
Applies the Mask and adds it to the current filter stack.
Name Type Description graphics
PIXI.Graphics webGLData
Array.<any> -
pushSpriteMask(target, maskData)
-
Applies the Mask and adds it to the current filter stack.
Name Type Description target
PIXI.RenderTarget maskData
Array.<any> -
pushStencilMask(target, maskData)
-
Applies the Mask and adds it to the current filter stack.
Name Type Description target
PIXI.RenderTarget maskData
Array.<any>