MCPcopy Create free account
hub / github.com/corbanbrook/dsp.js / resetContext

Function resetContext

examples/js/processing.js:8798–8805  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8796
8797 // pixels caching
8798 function resetContext() {
8799 if(isContextReplaced) {
8800 curContext = originalContext;
8801 isContextReplaced = false;
8802
8803 p.updatePixels();
8804 }
8805 }
8806 function SetPixelContextWrapper() {
8807 function wrapFunction(newContext, name) {
8808 function wrapper() {

Callers 5

wrapperFunction · 0.85
getterFunction · 0.85
setterFunction · 0.85
set$3Function · 0.85
executeSketchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected