MCPcopy
hub / github.com/processing/p5.js / updatePixels

Method updatePixels

src/webgl/p5.Framebuffer.js:1134–1137  ·  view source on GitHub ↗

* Updates the framebuffer with the RGBA values in the * pixels array. * * `myBuffer.updatePixels()` only needs to be called after changing values * in the myBuffer.pixels array. Such * changes can be made dire

()

Source from the content-addressed store, hash-verified

1132 * }
1133 */
1134 updatePixels() {
1135 // Let renderer handle the pixel update process
1136 this.renderer.updateFramebufferPixels(this);
1137 }
1138}
1139
1140function framebuffer(p5, fn){

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected