Class: BlendModeManager

PIXI. BlendModeManager

new PIXI.BlendModeManager(renderer)

Name Type Description
renderer PIXI.WebGLRenderer

The renderer this manager works for.

Extends

Methods

Generic destroy methods to be overridden by the subclass

Generic method called when there is a WebGL context change.

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

Name Type Description
blendMode number

the blendMode, should be a Pixi const, such as
PIXI.BLEND_MODES.ADD. See PIXI.BLEND_MODES for possible values.

Returns:
Type Description
boolean Returns if the blend mode was changed.