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

Method remove

src/webgl/p5.Texture.js:86–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 }
85
86 remove() {
87 if (this.textureHandle) {
88 this._renderer.deleteTexture(this.textureHandle);
89 this.textureHandle = null;
90 }
91 }
92
93 _getTextureDataFromSource () {
94 let textureData;

Callers 1

textFunction · 0.45

Calls 1

deleteTextureMethod · 0.45

Tested by

no test coverage detected