API Docs for: 2.0.0
Show:

WebGLBlendModeManager Class

Constructor

WebGLBlendModeManager

(
  • gl
)

Parameters:

  • gl WebGLContext

    the current WebGL drawing context

Item Index

Properties

Methods

destroy

()

Destroys this object.

setBlendMode

(
  • blendMode
)

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

Parameters:

  • blendMode Number

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

setContext

(
  • gl
)

Sets the WebGL Context.

Parameters:

  • gl WebGLContext

    the current WebGL drawing context

Properties