Phaser API Documentation

  Version: 
updateBlendMode(index, func, equation)

Description:

Updates the function bound to a given custom blend mode.

Parameters:

name type description
index number

The index of the custom blend mode.

func function

The function to use for the blend mode.

equation function

The equation to use for the blend mode.

Returns:
Description:

This WebGLRenderer instance.

Since: 3.0.0