Class: WebGLMaskManager

PIXI. WebGLMaskManager

new PIXI.WebGLMaskManager(renderer)

Name Type Description
renderer PIXI.WebGLRenderer

The renderer this manager works for.

Methods

bindGraphics(graphics, webGLData)

TODO this does not belong here!

Name Type Description
graphics PIXI.Graphics
webGLData Array.<any>

Destroys the mask stack.

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

Name Type Description
maskData Array.<any>

TODO @alvin

Name Type Description
graphics PIXI.Graphics
webGLData Array.<any>

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

Name Type Description
maskData Array.<any>

The mask data structure to use

pushStencil(graphics, webGLData)

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

Name Type Description
graphics PIXI.Graphics
webGLData Array.<any>

Changes the mask stack that is used by this manager.

Name Type Description
stencilMaskStack PIXI.StencilMaskStack

The mask stack