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

Method mapBufferRange

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

formatMethod · 0.65

Tested by

no test coverage detected