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

Method putIntArray

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

Source from the content-addressed store, hash-verified

2547
2548
2549 protected static void putIntArray(IntBuffer buf, int[] arr) {
2550 if (!buf.hasArray() || buf.array() != arr) {
2551 buf.position(0);
2552 buf.put(arr);
2553 buf.rewind();
2554 }
2555 }
2556
2557
2558 protected static void fillIntBuffer(IntBuffer buf, int i0, int i1, int val) {

Callers 1

drawPixelsMethod · 0.95

Calls 2

arrayMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected