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

Method _update

src/webgl/p5.Framebuffer.js:807–812  ·  view source on GitHub ↗

* Ensure all readable textures are up-to-date. * @private * @param {'colorTexutre'|'depthTexture'} property The property to update

(property)

Source from the content-addressed store, hash-verified

805 * @param {'colorTexutre'|'depthTexture'} property The property to update
806 */
807 _update(property) {
808 if (this.dirty[property]) {
809 this.renderer.updateFramebufferTexture(this, property);
810 this.dirty[property] = false;
811 }
812 }
813
814 /**
815 * Ensures that the framebuffer is ready to be drawn to

Callers 4

loadPixelsMethod · 0.95
getMethod · 0.95
updateMethod · 0.45
_initContextMethod · 0.45

Calls 1

Tested by

no test coverage detected