new WebGLBlendModeManager(gl)
Parameters:
| Name | Type | Description |
|---|---|---|
gl |
WebGLContext | the current WebGL drawing context |
Members
-
currentBlendMode : Number
-
Type:
- Number
Methods
-
destroy()
-
Destroys this object.
-
setBlendMode(blendMode)
-
Sets-up the given blendMode from WebGL's point of view.
Parameters:
Name Type Description blendModeNumber the blendMode, should be a Pixi const, such as PIXI.BlendModes.ADD
-
setContext(gl)
-
Sets the WebGL Context.
Parameters:
Name Type Description glWebGLContext the current WebGL drawing context