Class: StencilSystem

PIXI. StencilSystem

new PIXI.StencilSystem(renderer)

Name Type Description
renderer PIXI.WebGLRenderer

The renderer this System works for.

Extends

Members

The renderer this manager works for.

Methods

Generic method called when there is a WebGL context change.

Destroys the mask stack.

TODO @alvin

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

Name Type Description
graphics PIXI.Graphics

The mask

setMaskStack(stencilMaskStack)

Changes the mask stack that is used by this System.

Name Type Description
stencilMaskStack Array.<PIXI.Graphics>

The mask stack