API Docs for: 2.0.0
Show:

WebGLStencilManager Class

Constructor

WebGLStencilManager

(
  • gl
)
private

Parameters:

  • gl WebGLContext

    the current WebGL drawing context

Item Index

Methods

destroy

()

Destroys the mask stack

pushMask

(
  • maskData
  • renderSession
)

Applies the Mask and adds it to the current filter stack

Parameters:

  • maskData Array
  • renderSession RenderSession

setContext

(
  • gl
)

Sets the drawing context to the one given in parameter

Parameters:

  • gl WebGLContext

    the current WebGL drawing context