PIXI. WebGLBlendModeManager

new WebGLBlendModeManager(gl)

Parameters:
Name Type Description
gl WebGLContext

the current WebGL drawing context

Source - pixi/renderers/webgl/utils/WebGLBlendModeManager.js, line 5

Members

currentBlendMode :Number

Source - pixi/renderers/webgl/utils/WebGLBlendModeManager.js, line 12

Methods

destroy()

Destroys this object.

Source - pixi/renderers/webgl/utils/WebGLBlendModeManager.js, line 50

setBlendMode(blendMode)

Sets-up the given blendMode from WebGL's point of view.

Parameters:
Name Type Description
blendMode Number

the blendMode, should be a Pixi const, such as PIXI.BlendModes.ADD

Source - pixi/renderers/webgl/utils/WebGLBlendModeManager.js, line 32

setContext(gl)

Sets the WebGL Context.

Parameters:
Name Type Description
gl WebGLContext

the current WebGL drawing context

Source - pixi/renderers/webgl/utils/WebGLBlendModeManager.js, line 21
Phaser Copyright © 2012-2015 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.0-alpha10 on Fri Jul 24 2015 13:29:57 GMT+0100 (GMT Daylight Time) using the DocStrap template.