Type Definition tobj::MTLLoadResult

source · []
pub type MTLLoadResult = Result<(Vec<Material>, AHashMap<String, usize>), LoadError>;
Expand description

A Result containing all the materials loaded from the file and a map of MTL name to index. Or an error that occured while loading.