code: function (symbol, value) {
          if (value === undefined) {
              console.warn('Uniform value "' + symbol + '" is undefined');
          }
          var uniform = this.uniforms[symbol];
          if (uniform) {
  
              if (typeof value === 'string') {
                  // Try to parse as a color. Invalid color string will return null.
                  value = parseColor$1(value) || value;
              }
  
              uniform.value = value;
  
              if (this.autoUpdateTextureStatus && uniform.type === 't') {
                  if (value) {
                      this.enableTexture(symbol);
                  }
                  else {
                      this.disableTexture(symbol);
                  }
              }
          }
      }
docs: Set material uniform
  @example
  mat.setUniform('color', [1, 1, 1, 1]);
  @param {string} symbol
  @param {number|array|clay.Texture|ArrayBufferView} value