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

Method setModified

src/image/p5.Image.js:1381–1383  ·  view source on GitHub ↗

* helper method for web GL mode to indicate that an image has been * changed or unchanged since last upload. gl texture upload will * set this value to false after uploading the texture. * @param {Boolean} val sets whether or not the image has been * modified. * @private

(val)

Source from the content-addressed store, hash-verified

1379 * @private
1380 */
1381 setModified(val) {
1382 this._modified = val; //enforce boolean?
1383 }
1384
1385 /**
1386 * helper method for web GL mode to figure out if the image

Callers 9

_animateGifMethod · 0.95
loadPixelsMethod · 0.95
updatePixelsMethod · 0.95
setMethod · 0.95
resizeMethod · 0.95
maskMethod · 0.95
filterMethod · 0.95
blendMethod · 0.95
_shouldUpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected