src/asset-manager.js
/**
   * Generates a compact manifest containing only the resources that have been
   * actually be fetched from the cache, after loading.  Useful to reduce loading
   * time for scenes that only use a few resources.
   * @return {Object} A manifest containing only the resources that were actually used
   *                  after loading.
   */
Generates a compact manifest containing only the resources that have been
actually be fetched from the cache, after loading.  Useful to reduce loading
time for scenes that only use a few resources.
@return {Object} A manifest containing only the resources that were actually used
after loading.
Generates a compact manifest containing only the resources that have been actually be fetched from the cache after loading . Useful to reduce loading time for scenes that only use a few resources . @return { Object } A manifest containing only the resources that were actually used after loading .
generateManifest() {
    var manifest = {}, keys = ['texture', 'mesh', 'rawProgram', 'program'];
    keys.forEach(function(section) {
      manifest[section] = {};
      for(var i in this.stats[section]) {
        if(this.stats[section].hasOwnProperty(i) && this.stats[section][i] > 0) {
          manifest[section][i] = this.manifest[section][i];
        }
      }
    }.bind(this));
    return manifest;
  }
generateManifest ( ) { var manifest = { } , keys = [ 'texture' , 'mesh' , 'rawProgram' , 'program' ] ; keys . forEach ( function ( section ) { manifest [ section ] = { } ; for ( var i in this . stats [ section ] ) { if ( this . stats [ section ] . hasOwnProperty ( i ) && this . stats [ section ] [ i ] > 0 ) { manifest [ section ] [ i ] = this . manifest [ section ] [ i ] ; } } } . bind ( this ) ) ; return manifest ; }
Generates a compact manifest containing only the resources that have been
 actually be fetched from the cache, after loading.
Generates a compact manifest containing only the resources that have been actually be fetched from the cache after loading .