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

Method getPixels

core/src/processing/opengl/FrameBuffer.java:213–218  ·  view source on GitHub ↗
(int[] pixels)

Source from the content-addressed store, hash-verified

211 }
212
213 public void getPixels(int[] pixels) {
214 if (pixelBuffer != null) {
215 pixelBuffer.get(pixels, 0, pixels.length);
216 pixelBuffer.rewind();
217 }
218 }
219
220 public IntBuffer getPixelBuffer() {
221 return pixelBuffer;

Callers 2

getMethod · 0.80
loadPixelsMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected