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