code: function (src, data, cb) {
      var texture;
      texture = new THREE.CanvasTexture(src);
      setTextureProperties(texture, data);
      cb(texture);
    }
docs: High-level function for loading canvas textures (THREE.Texture).
  
  @param {Element|string} src - Texture source.
  @param {object} data - Texture data.
  @param {function} cb - Callback to pass texture to.