Skip to main content

write

Function write 

Source
pub fn write<'a>(
    meshes: impl IntoIterator<Item = &'a Mesh>,
    format: Format,
    path: &Path,
) -> Result<()>
Expand description

Writes meshes to path in format; an OBJ gets its MTL next to it (same name, .mtl) when it has materials.