pixels[]

Image / Pixels

Description

Array containing the values for all the pixels in the display window or PImage. Must call loadPixels() before reading and updatePixels() after writing. Each value is a packed ARGB color integer.

Syntax

pixels[i] pixels[y * width + x]

Parameters

None

Returns

std::vector

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...