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

Function resetParameters

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

Source from the content-addressed store, hash-verified

59729 return state;
59730}
59731function resetParameters(gl) {
59732 setParameters(gl, (0, _webglParameterTables.GL_PARAMETER_DEFAULTS));
59733}
59734function withParameters(gl, parameters, func) {
59735 if ((0, _utils.isObjectEmpty)(parameters)) return func(gl);
59736 var _parameters$nocatch = parameters.nocatch, nocatch = _parameters$nocatch === void 0 ? true : _parameters$nocatch;

Callers

nothing calls this directly

Calls 1

setParametersFunction · 0.70

Tested by

no test coverage detected