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

Method saveFirstFrame

core/src/processing/opengl/PGL.java:1038–1042  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1036
1037
1038 protected void saveFirstFrame() {
1039 firstFrame = allocateDirectIntBuffer(graphics.width * graphics.height);
1040 if (hasReadBuffer()) readBuffer(BACK);
1041 readPixelsImpl(0, 0, graphics.width, graphics.height, RGBA, UNSIGNED_BYTE, firstFrame);
1042 }
1043
1044
1045 protected void restoreFirstFrame() {

Callers 1

endRenderMethod · 0.95

Calls 4

hasReadBufferMethod · 0.95
readBufferMethod · 0.95
readPixelsImplMethod · 0.95

Tested by

no test coverage detected