MCPcopy Index your code
hub / github.com/gpujs/gpu.js / destroy

Method destroy

src/backend/kernel.js:770–772  ·  view source on GitHub ↗

* @desc Destroys all memory associated with this kernel * @param {Boolean} [removeCanvasReferences] remove any associated canvas references

(removeCanvasReferences)

Source from the content-addressed store, hash-verified

768 * @param {Boolean} [removeCanvasReferences] remove any associated canvas references
769 */
770 destroy(removeCanvasReferences) {
771 throw new Error(`"destroy" called on ${ this.constructor.name }`);
772 }
773
774 /**
775 * bit storage ratio of source to target 'buffer', i.e. if 8bit array -> 32bit tex = 4

Callers 8

argumentTypesTestFunction · 0.95
setUniform1fTestFunction · 0.95
setUniform1iTestFunction · 0.95
setUniform2fTestFunction · 0.95
setUniform2fvTestFunction · 0.95
setUniform3fvTestFunction · 0.95
setUniform4ivTestFunction · 0.95
setUniform4fvTestFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected