function uploadBaseTextures(renderer, item) {
    if (item instanceof _pixi_core__WEBPACK_IMPORTED_MODULE_1__.BaseTexture) {
        // if the texture already has a GL texture, then the texture has been prepared or rendered
        // before now. If the texture changed, then the changer should be calling texture.update() which
        // reuploads the texture without need for preparing it again
        if (!item._glTextures[renderer.CONTEXT_UID]) {
            renderer.texture.bind(item);
        }
        return true;
    }
    return false;
}
Built-in hook to upload PIXI.Texture objects to the GPU.
@private
@param renderer - instance of the webgl renderer
@param item - Item to check
@returns If item was uploaded.