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

Method getIntArray

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

Source from the content-addressed store, hash-verified

2596
2597
2598 protected static void getIntArray(IntBuffer buf, int[] arr) {
2599 if (!buf.hasArray() || buf.array() != arr) {
2600 buf.position(0);
2601 buf.get(arr);
2602 buf.rewind();
2603 }
2604 }
2605
2606
2607 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