* @desc Adds additional functions, that the kernel may call. * @param {Function|String} source - Javascript function to convert * @param {IFunctionSettings} [settings] * @returns {GPU} returns itself
(source, settings)
| 505 | * @returns {GPU} returns itself |
| 506 | */ |
| 507 | addFunction(source, settings) { |
| 508 | this.functions.push({ source, settings }); |
| 509 | return this; |
| 510 | } |
| 511 | |
| 512 | /** |
| 513 | * @desc Adds additional native functions, that the kernel may call. |
no outgoing calls
no test coverage detected