blendMode()

Rendering

Description

Blends the pixels in the display window with the pixels underneath using a defined blend mode.

Syntax

void blendMode(int mode)

Parameters

NameTypeDescription
modeintBLEND, ADD, SUBTRACT, MULTIPLY, SCREEN, DARKEST, LIGHTEST, DIFFERENCE, EXCLUSION

Returns

void

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...