MCPcopy Create free account
hub / github.com/microsoft/SandDance / pushContextState

Function pushContextState

docs/app/js/sanddance-app.js:60287–60292  ·  view source on GitHub ↗
(gl)

Source from the content-addressed store, hash-verified

60285}
60286exports.default = trackContextState;
60287function pushContextState(gl) {
60288 if (!gl.state) trackContextState(gl, {
60289 copyState: false
60290 });
60291 gl.state.push();
60292}
60293function popContextState(gl) {
60294 (0, _utils.assert)(gl.state);
60295 gl.state.pop();

Callers

nothing calls this directly

Calls 1

trackContextStateFunction · 0.70

Tested by

no test coverage detected