MCPcopy Index your code
hub / github.com/benfry/processing4 / loadPixels

Method loadPixels

core/src/processing/core/PImage.java:404–409  ·  view source on GitHub ↗

Loads the pixel data of the current display window into the pixels[] array. This function must always be called before reading from or writing to pixels[] . Subsequent changes to the display window will not be reflected in pixels until loadPixels() is called again. Ad

()

Source from the content-addressed store, hash-verified

402 * @usage web_application
403 */
404 public void loadPixels() { // ignore
405 if (pixels == null || pixels.length != pixelWidth*pixelHeight) {
406 pixels = new int[pixelWidth*pixelHeight];
407 }
408 setLoaded();
409 }
410
411
412 public void updatePixels() { // ignore

Callers 5

maskMethod · 0.95
filterMethod · 0.95
blendMethod · 0.95
saveImplMethod · 0.95
saveMethod · 0.45

Calls 1

setLoadedMethod · 0.95

Tested by

no test coverage detected