code: function (e) {
      if (!this.textureCounts[e.detail.texture.uuid]) {
        this.textureCounts[e.detail.texture.uuid] = 0;
      }
      this.textureCounts[e.detail.texture.uuid]++;
    }
docs: Track textures used by material components, so that they can be safely
  disposed when no longer in use. Textures must be registered here, and not
  through registerMaterial(), because textures may not be attached at the
  time the material is registered.
  
  @param {Event} e