Reference update()

update()

Checks if the source data for this texture has changed (if it's easy to do so) and reuploads the texture if necessary. If it's not possible or to expensive to do a calculation to determine wheter or not the data has occurred, this method simply re-uploads the texture.

Examples

Syntax

update()

Parameters

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

Related References