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

Function getModifiedParameters

docs/tests/v2/es6/js/sanddance.js:5407–5418  ·  view source on GitHub ↗
(gl)

Source from the content-addressed store, hash-verified

5405
5406
5407function getModifiedParameters(gl) {
5408 var values = getParameters(GL_PARAMETER_DEFAULTS);
5409 var modified = {};
5410
5411 for (var key in GL_PARAMETER_DEFAULTS) {
5412 if (!deepArrayEqual(values[key], GL_PARAMETER_DEFAULTS[key])) {
5413 modified[key] = values[key];
5414 }
5415 }
5416
5417 return modified;
5418}
5419},{"@babel/runtime/helpers/esm/toConsumableArray":"Qv3s","@babel/runtime/helpers/esm/defineProperty":"gpd2","../webgl-utils":"CTd0","../utils/assert":"iVaU"}],"V1Wo":[function(require,module,exports) {
5420var global = arguments[3];
5421"use strict";

Callers

nothing calls this directly

Calls 2

getParametersFunction · 0.70
deepArrayEqualFunction · 0.70

Tested by

no test coverage detected