* Inject a string just before translated kernel functions * @param {String} source * @return {GPU}
(source)
| 530 | * @return {GPU} |
| 531 | */ |
| 532 | injectNative(source) { |
| 533 | this.injectedNative = source; |
| 534 | return this; |
| 535 | } |
| 536 | |
| 537 | /** |
| 538 | * @desc Destroys all memory associated with gpu.js & the webGl if we created it |