MCPcopy Index your code
hub / github.com/processing/p5.js / setupContext

Method setupContext

src/webgpu/p5.RendererWebGPU.js:444–447  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

442 }
443
444 async setupContext() {
445 this._setAttributeDefaults(this._pInst);
446 await this._initContext();
447 }
448
449 _setAttributeDefaults(pInst) {
450 const defaults = {

Callers

nothing calls this directly

Calls 2

_setAttributeDefaultsMethod · 0.95
_initContextMethod · 0.95

Tested by

no test coverage detected