API Docs for: 2.0.0
Show:

WebGLStencilManager Class

Constructor

WebGLStencilManager

() private

Methods

bindGraphics

(
  • graphics
  • webGLData
  • renderSession
)

TODO this does not belong here!

Parameters:

  • graphics Graphics
  • webGLData Array
  • renderSession Object

destroy

()

Destroys the mask stack.

popStencil

(
  • graphics
  • webGLData
  • renderSession
)

Parameters:

  • graphics Graphics
  • webGLData Array
  • renderSession Object

pushMask

(
  • graphics
  • webGLData
  • renderSession
)

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

Parameters:

  • graphics Graphics
  • webGLData Array
  • renderSession Object

setContext

(
  • gl
)

Sets the drawing context to the one given in parameter.

Parameters:

  • gl WebGLContext

    the current WebGL drawing context