function findBaseTexture(item, queue) {
    if (item.baseTexture instanceof _pixi_core__WEBPACK_IMPORTED_MODULE_1__.BaseTexture) {
        var texture = item.baseTexture;
        if (queue.indexOf(texture) === -1) {
            queue.push(texture);
        }
        return true;
    }
    return false;
}
Built-in hook to find BaseTextures from Texture.
@private
@param item - Display object to check
@param queue - Collection of items to upload
@returns If a PIXI.Texture object was found.