()
| 64904 | } else uniforms[key] = value; |
| 64905 | } |
| 64906 | function getSamplerSetter() { |
| 64907 | var cache = null; |
| 64908 | return function(gl, location, value) { |
| 64909 | var update = cache !== value; |
| 64910 | if (update) { |
| 64911 | gl.uniform1i(location, value); |
| 64912 | cache = value; |
| 64913 | } |
| 64914 | return update; |
| 64915 | }; |
| 64916 | } |
| 64917 | function getArraySetter(functionName, toArray, size, uniformSetter) { |
| 64918 | var cache = null; |
| 64919 | var cacheLength = null; |
nothing calls this directly
no outgoing calls
no test coverage detected