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

Method getIntArray

core/src/processing/opengl/PGL.java:2540–2546  ·  view source on GitHub ↗
(IntBuffer buf, int[] arr)

Source from the content-addressed store, hash-verified

2538
2539
2540 protected static void getIntArray(IntBuffer buf, int[] arr) {
2541 if (!buf.hasArray() || buf.array() != arr) {
2542 buf.position(0);
2543 buf.get(arr);
2544 buf.rewind();
2545 }
2546 }
2547
2548
2549 protected static void putIntArray(IntBuffer buf, int[] arr) {

Callers 1

readPixelsMethod · 0.95

Calls 2

getMethod · 0.65
arrayMethod · 0.45

Tested by

no test coverage detected