MCPcopy Index your code
hub / github.com/processing/p5.js / isModified

Method isModified

src/image/p5.Image.js:1393–1395  ·  view source on GitHub ↗

* helper method for web GL mode to figure out if the image * has been modified and might need to be re-uploaded to texture * memory between frames. * @private * @return {boolean} a boolean indicating whether or not the * image has been updated or modified since last texture upload.

()

Source from the content-addressed store, hash-verified

1391 * image has been updated or modified since last texture upload.
1392 */
1393 isModified() {
1394 return this._modified;
1395 }
1396
1397 /**
1398 * Saves the image to a file.

Callers 1

_shouldUpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected