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

Method readBuffer

core/src/processing/opengl/PJOGL.java:1961–1972  ·  view source on GitHub ↗
(int buf)

Source from the content-addressed store, hash-verified

1959 }
1960
1961 @Override
1962 public void readBuffer(int buf) {
1963 if (gl2x != null) {
1964 gl2x.glReadBuffer(buf);
1965 } else if (gl3 != null) {
1966 gl3.glReadBuffer(buf);
1967 } else if (gl3es3 != null) {
1968 gl3es3.glReadBuffer(buf);
1969 } else {
1970 throw new RuntimeException(String.format(MISSING_GLFUNC_ERROR, "glReadBuffer()"));
1971 }
1972 }
1973
1974 @Override
1975 public void drawBuffer(int buf) {

Callers 2

initFBOLayerESMethod · 0.95
initFBOLayerGLMethod · 0.95

Calls 1

formatMethod · 0.65

Tested by

no test coverage detected