Referencia updatePixels()

updatePixels()

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 directly after calling myBuffer.loadPixels().

Ejemplos

This page is generated from the comments in src/webgl/p5.Framebuffer.js . Please feel free to edit it and submit a pull request!

Referencias Relacionadas