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

Method putShortArray

core/src/processing/opengl/PGL.java:2515–2521  ·  view source on GitHub ↗
(ShortBuffer buf, short[] arr)

Source from the content-addressed store, hash-verified

2513
2514
2515 protected static void putShortArray(ShortBuffer buf, short[] arr) {
2516 if (!buf.hasArray() || buf.array() != arr) {
2517 buf.position(0);
2518 buf.put(arr);
2519 buf.rewind();
2520 }
2521 }
2522
2523
2524 protected static void fillShortBuffer(ShortBuffer buf, int i0, int i1,

Callers

nothing calls this directly

Calls 2

arrayMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected