Function wavefront_obj::mtl::parse[][src]

pub fn parse<S: AsRef<str>>(input: S) -> Result<MtlSet, ParseError>
Expand description

Parses a wavefront .mtl file, returning either the successfully parsed file, or an error. Support in this parser for the full file format is best-effort and realistically I will only end up supporting the subset of the file format which falls under the “shit I see exported from blender” category.