WebGLBlendModeManager Class
Constructor
WebGLBlendModeManager
(
-
gl
Parameters:
-
gl
WebGLContextthe current WebGL drawing context
Methods
destroy
()
Destroys this object.
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