code: function findTexture(item, queue)
  {
      if (item._texture && item._texture instanceof Texture)
      {
          const texture = item._texture.baseTexture;
  
          if (queue.indexOf(texture) === -1)
          {
              queue.push(texture);
          }
  
          return true;
      }
  
      return false;
  }
docs: Built-in hook to find textures from objects.
  
  @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.