code: function findBaseTexture(item, queue)
  {
      // Objects with textures, like Sprites/Text
      if (item instanceof BaseTexture)
      {
          if (queue.indexOf(item) === -1)
          {
              queue.push(item);
          }
  
          return true;
      }
  
      return false;
  }
docs: Built-in hook to find BaseTextures from Sprites.
  
  @private
  @param {PIXI.DisplayObject} item - Display object to check
  @param {Array<*>} queue - Collection of items to upload
  @return {boolean} if a PIXI.Texture object was found.