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

Method setGraphical

src/backend/kernel.js:483–487  ·  view source on GitHub ↗

* @desc Toggle graphical output mode * @param {Boolean} flag - true to enable graphical output * @return {this}

(flag)

Source from the content-addressed store, hash-verified

481 * @return {this}
482 */
483 setGraphical(flag) {
484 this.graphical = flag;
485 this.precision = 'unsigned';
486 return this;
487 }
488
489 /**
490 * @desc Set the maximum number of loop iterations

Callers 5

getCanvasTestFunction · 0.80
colorSyntaxTestFunction · 0.80
wrongCanvasSizeOptimizedFunction · 0.80
testCanvasIssueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected