WebGLMaskManager Class
Constructor
WebGLMaskManager
()
Item Index
Methods
destroy
()
Destroys this object.
destroy
()
Destroys this object.
popMask
(
-
maskData
-
renderSession
Removes the last filter from the filter stack and doesn't return it.
pushMask
(
-
maskData
-
renderSession
Applies the Mask and adds it to the current filter stack.
reset
()
setBlendMode
(
-
blendMode
Sets-up the given blendMode from WebGL's point of view
Parameters:
-
blendMode
Numberthe blendMode, should be a Pixi const, such as PIXI.BlendModes.ADD
setContext
(
-
gl
Sets the WebGL Context.
Parameters:
-
gl
WebGLContextthe current WebGL drawing context
setContext
(
-
gl
Parameters:
-
gl
WebGLContextthe current WebGL drawing context