pub fn parse_mtl(text: &str) -> Result<Vec<Material>>Expand description
Parse an MTL document.
Returns one Material per newmtl block. Texture references
are resolved lazily by merge_materials_into_scene (used by the
OBJ decoder) — direct callers get materials with *_texture slots
wired to fresh textures stored in the same returned vector via
the extras["mtl:pending_textures"] side-channel; consumers
integrating with a real Scene3D should use parse_mtl_with_scene
instead.