Sets the blend mode to the value given.
If the current blend mode is different from the one given, the pipeline is flushed and the new blend mode is enabled.
name | type | arguments | Default | description |
---|---|---|---|---|
blendModeId | number |
The blend mode to be set. Can be a |
||
force | boolean | <optional> | false |
Force the blend mode to be set, regardless of the currently set blend mode. |
true
if the blend mode was changed as a result of this call, forcing a flush, otherwise false
.