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

Method mapBufferRange

core/src/processing/opengl/PJOGL.java:1181–1190  ·  view source on GitHub ↗
(int target, int offset, int length, int access)

Source from the content-addressed store, hash-verified

1179 }
1180
1181 @Override
1182 public ByteBuffer mapBufferRange(int target, int offset, int length, int access) {
1183 if (gl2x != null) {
1184 return gl2x.glMapBufferRange(target, offset, length, access);
1185 } else if (gl3 != null) {
1186 return gl3.glMapBufferRange(target, offset, length, access);
1187 } else {
1188 throw new RuntimeException(String.format(MISSING_GLFUNC_ERROR, "glMapBufferRange()"));
1189 }
1190 }
1191
1192 @Override
1193 public void unmapBuffer(int target) {

Callers

nothing calls this directly

Calls 1

formatMethod · 0.65

Tested by

no test coverage detected