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

Method getBooleanv

core/src/processing/opengl/PJOGL.java:1083–1096  ·  view source on GitHub ↗
(int value, IntBuffer data)

Source from the content-addressed store, hash-verified

1081 }
1082
1083 @Override
1084 public void getBooleanv(int value, IntBuffer data) {
1085 if (-1 < value) {
1086 if (byteBuffer.capacity() < data.capacity()) {
1087 byteBuffer = allocateDirectByteBuffer(data.capacity());
1088 }
1089 gl.glGetBooleanv(value, byteBuffer);
1090 for (int i = 0; i < data.capacity(); i++) {
1091 data.put(i, byteBuffer.get(i));
1092 }
1093 } else {
1094 fillIntBuffer(data, 0, data.capacity() - 1, 0);
1095 }
1096 }
1097
1098 @Override
1099 public void getIntegerv(int value, IntBuffer data) {

Callers

nothing calls this directly

Calls 4

fillIntBufferMethod · 0.80
getMethod · 0.65
putMethod · 0.45

Tested by

no test coverage detected