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

Function getValue

docs/app/js/sanddance-app.js:59924–59926  ·  view source on GitHub ↗
(glEnum, values, cache)

Source from the content-addressed store, hash-verified

59922 return gl.viewport.apply(gl, (0, _toConsumableArrayDefault.default)(value));
59923}), _GL_PARAMETER_SETTERS);
59924function getValue(glEnum, values, cache) {
59925 return values[glEnum] !== undefined ? values[glEnum] : cache[glEnum];
59926}
59927var GL_COMPOSITE_PARAMETER_SETTERS = {
59928 blendEquation: function blendEquation(gl, values, cache) {
59929 return gl.blendEquationSeparate(getValue(32777, values, cache), getValue(34877, values, cache));

Callers 3

memoizedGetValueFunction · 0.70
sanddance-app.jsFile · 0.70
transformFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected