Function rend3_gltf::filesystem_io_func
source · [−]pub async fn filesystem_io_func(
parent_directory: impl AsRef<Path>,
uri: SsoString
) -> Result<Vec<u8>, Error>
Expand description
Default implementation of load_gltf
’s io_func
that loads from the
filesystem relative to the gltf.
The first argumnet is the directory all relative paths should be considered against. This is more than likely the directory the gltf/glb is in.