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

Method getShortArray

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

Source from the content-addressed store, hash-verified

2504
2505
2506 protected static void getShortArray(ShortBuffer buf, short[] arr) {
2507 if (!buf.hasArray() || buf.array() != arr) {
2508 buf.position(0);
2509 buf.get(arr);
2510 buf.rewind();
2511 }
2512 }
2513
2514
2515 protected static void putShortArray(ShortBuffer buf, short[] arr) {

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
arrayMethod · 0.45

Tested by

no test coverage detected