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

Method putShortArray

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

Source from the content-addressed store, hash-verified

2455
2456
2457 protected static void putShortArray(ShortBuffer buf, short[] arr) {
2458 if (!buf.hasArray() || buf.array() != arr) {
2459 buf.position(0);
2460 buf.put(arr);
2461 buf.rewind();
2462 }
2463 }
2464
2465
2466 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