MCPcopy Index your code
hub / github.com/processing/processing / loadPixels

Method loadPixels

core/src/processing/core/PImage.java:438–443  ·  view source on GitHub ↗

( begin auto-generated from PImage_loadPixels.xml ) Loads the pixel data for the image into its pixels[] array. This function must always be called before reading from or writing to pixels[] . renderers may or may not seem to require loadPixels() or updatePixels()<

()

Source from the content-addressed store, hash-verified

436 * @usage web_application
437 */
438 public void loadPixels() { // ignore
439 if (pixels == null || pixels.length != pixelWidth*pixelHeight) {
440 pixels = new int[pixelWidth*pixelHeight];
441 }
442 setLoaded();
443 }
444
445
446 public void updatePixels() { // ignore

Callers 6

getNativeMethod · 0.95
maskMethod · 0.95
filterMethod · 0.95
blendMethod · 0.95
saveMethod · 0.95
saveMethod · 0.45

Calls 1

setLoadedMethod · 0.95

Tested by

no test coverage detected