संदर्भ loadPixels()

loadPixels()

Loads the current value of each pixel in the framebuffer into its pixels array.

myBuffer.loadPixels() must be called before reading from or writing to myBuffer.pixels.

उदाहरण

Notice any errors or typos? Please let us know. Please feel free to edit src/webgl/p5.Framebuffer.js and open a pull request!

संबंधित संदर्भ