Type Alias 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.
Aliased Type§
enum MTLLoadResult {
Ok((Vec<Material>, AHashMap<String, usize>)),
Err(LoadError),
}