Class: StencilManager

Tiny. StencilManager

Name Type Description
renderer Tiny.WebGLRenderer

The renderer this manager works for.

Extends

Members

The renderer this manager works for.

Methods

Destroys the mask stack.

Generic method called when there is a WebGL context change.

Removes the last mask from the stencil stack. @alvin

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

Name Type Description
graphics Tiny.Graphics

The mask

Changes the mask stack that is used by this manager.

Name Type Description
stencilMaskStack Array.<Tiny.Graphics>

The mask stack

Documentation generated by JSDoc 3.4.3 on Mon Dec 03 2018 17:48:52 GMT+0800 (CST)