pub async fn load_gltf_data<F, Fut, E>(
    renderer: &Renderer,
    file: &mut Gltf,
    settings: &GltfLoadSettings,
    io_func: F
) -> Result<LoadedGltfScene, GltfLoadError<E>> where
    F: FnMut(SsoString) -> Fut,
    Fut: Future<Output = Result<Vec<u8>, E>>,
    E: Error + 'static, 
Expand description

Load a given gltf’s data, like meshes and materials, without yet adding any of the nodes to the scene.

Allows the user to specify how URIs are resolved into their underlying data. Supports most gltfs and glbs.

Must keep the LoadedGltfScene alive for the meshes and materials