Constructs a new blend mode.
The blend function.
Optional
opacity: numberThe opacity of the color that will be blended with the base color.
A uniform that controls the opacity of this blend mode.
TODO Add opacity accessors for uniform value.
The blend function.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Returns the blend function.
The blend function.
Use blendFunction instead.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Sets the blend function.
The blend function.
Use blendFunction instead.
A blend mode.