MCPcopy Create free account
hub / github.com/gpujs/gpu.js / toJSON

Method toJSON

src/backend/web-gl/kernel.js:1597–1602  ·  view source on GitHub ↗

* @return {IKernelJSON}

()

Source from the content-addressed store, hash-verified

1595 * @return {IKernelJSON}
1596 */
1597 toJSON() {
1598 const json = super.toJSON();
1599 json.functionNodes = FunctionBuilder.fromKernel(this, WebGLFunctionNode).toJSON();
1600 json.settings.threadDim = this.threadDim;
1601 return json;
1602 }
1603}
1604
1605module.exports = {

Callers

nothing calls this directly

Calls 1

fromKernelMethod · 0.80

Tested by

no test coverage detected