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

Method setNativeFunctions

src/backend/kernel.js:535–542  ·  view source on GitHub ↗

* * @param {IGPUNativeFunction[]} nativeFunctions * @return {this}

(nativeFunctions)

Source from the content-addressed store, hash-verified

533 * @return {this}
534 */
535 setNativeFunctions(nativeFunctions) {
536 for (let i = 0; i < nativeFunctions.length; i++) {
537 const settings = nativeFunctions[i];
538 const { name, source } = settings;
539 this.addNativeFunction(name, source, settings);
540 }
541 return this;
542 }
543
544 /**
545 *

Callers

nothing calls this directly

Calls 1

addNativeFunctionMethod · 0.95

Tested by

no test coverage detected