MCPcopy Create free account
hub / github.com/benfry/processing4 / putIntArray

Method putIntArray

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

Source from the content-addressed store, hash-verified

2605
2606
2607 protected static void putIntArray(IntBuffer buf, int[] arr) {
2608 if (!buf.hasArray() || buf.array() != arr) {
2609 buf.position(0);
2610 buf.put(arr);
2611 buf.rewind();
2612 }
2613 }
2614
2615
2616 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