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

Method readBuffer

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

Source from the content-addressed store, hash-verified

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

Callers 2

initFBOLayerESMethod · 0.95
initFBOLayerGLMethod · 0.95

Calls 1

formatMethod · 0.65

Tested by

no test coverage detected