Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
_setAttributeDefaults
Method · 0.95
_initContext
Method · 0.95
Tested by
no test coverage detected