function setUniforms(setters, ...values) {
      setters = setters.uniformSetters || setters;
      for (const uniforms of values) {
        Object.keys(uniforms).forEach(function(name) {
          const setter = setters[name];
          if (setter) {
            setter(uniforms[name]);
          }
        });
      }
    }
Creates setter functions for all attributes of a shader
program. You can pass this to {@link module:webgl-utils.setBuffersAndAttributes} to set all your buffers and attributes.

@see {@link module:webgl-utils.setAttributes} for example
@param {WebGLProgram} program the program to create setters for.
@return {Object.<string, function>} an object with a setter for each attribute by name.
@memberOf module:webgl-utils