def __gather_base_color_texture(blender_material, export_settings):
    base_color_socket = gltf2_blender_get.get_socket(blender_material, 'Base Color')
    if (base_color_socket is None):
        base_color_socket = gltf2_blender_get.get_socket(blender_material, 'BaseColor')
    if (base_color_socket is None):
        base_color_socket = gltf2_blender_get.get_socket_old(blender_material, 'BaseColor')
    if (base_color_socket is None):
        base_color_socket = gltf2_blender_get.get_socket(blender_material, 'Background')
    alpha_socket = gltf2_blender_get.get_socket(blender_material, 'Alpha')
    if ((alpha_socket is not None) and alpha_socket.is_linked):
        inputs = (base_color_socket, alpha_socket)
    else:
        inputs = (base_color_socket,)
    return gltf2_blender_gather_texture_info.gather_texture_info(inputs, export_settings)
def __gather_base_color_texture(blender_material, export_settings):
    base_color_socket = gltf2_blender_get.get_socket(blender_material, 'Base Color')
    if (base_color_socket is None):
        base_color_socket = gltf2_blender_get.get_socket(blender_material, 'BaseColor')
    if (base_color_socket is None):
        base_color_socket = gltf2_blender_get.get_socket_old(blender_material, 'BaseColor')
    if (base_color_socket is None):
        base_color_socket = gltf2_blender_get.get_socket(blender_material, 'Background')
    alpha_socket = gltf2_blender_get.get_socket(blender_material, 'Alpha')
    if ((alpha_socket is not None) and alpha_socket.is_linked):
        inputs = (base_color_socket, alpha_socket)
    else:
        inputs = (base_color_socket,)
    return gltf2_blender_gather_texture_info.gather_texture_info(inputs, export_settings)