code: function (material) {
      var materials = this.materials;
      Object.keys(materials).forEach(function (uuid) {
        materials[uuid].needsUpdate = true;
      });
    }
docs: Trigger update to all registered materials.