MCPcopy
hub / github.com/processing/p5.js / getRenderState

Function getRenderState

test/unit/core/structure.js:60–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58
59 suite('p5.prototype.push and p5.prototype.pop', function() {
60 function getRenderState() {
61 return { ...myp5._renderer.states };
62 }
63
64 function assertCanPreserveRenderState(work) {
65 var originalState = getRenderState();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected