packages/prepare/src/BasePrepare.js
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;
}
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;
}
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 ; }
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.
Built - in hook to find BaseTextures from Sprites .