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

Method toJSON

src/backend/web-gl2/kernel.js:631–636  ·  view source on GitHub ↗

* @return {IKernelJSON}

()

Source from the content-addressed store, hash-verified

629 * @return {IKernelJSON}
630 */
631 toJSON() {
632 const json = super.toJSON();
633 json.functionNodes = FunctionBuilder.fromKernel(this, WebGL2FunctionNode).toJSON();
634 json.settings.threadDim = this.threadDim;
635 return json;
636 }
637}
638
639module.exports = {

Callers

nothing calls this directly

Calls 1

fromKernelMethod · 0.80

Tested by

no test coverage detected