Class: MaskManager

MaskManager


new MaskManager(renderer)

Parameters:
Name Type Description
renderer WebGLRenderer

The renderer this manager works for.

Source:

Methods


popMask(target, maskData)

Removes the last mask from the mask stack and doesn't return it.

Parameters:
Name Type Description
target RenderTarget
maskData Array.<any>
Source:

popSpriteMask()

Removes the last filter from the filter stack and doesn't return it.

Source:

popStencilMask(target, maskData)

Removes the last filter from the filter stack and doesn't return it.

Parameters:
Name Type Description
target RenderTarget
maskData Array.<any>
Source:

pushMask(graphics, webGLData)

Applies the Mask and adds it to the current filter stack.

Parameters:
Name Type Description
graphics Graphics
webGLData Array.<any>
Source:

pushSpriteMask(target, maskData)

Applies the Mask and adds it to the current filter stack.

Parameters:
Name Type Description
target RenderTarget
maskData Array.<any>
Source:

pushStencilMask(target, maskData)

Applies the Mask and adds it to the current filter stack.

Parameters:
Name Type Description
target RenderTarget
maskData Array.<any>
Source: