MeshWriter

Trait MeshWriter 

Source
pub trait MeshWriter: Send + Sync {
    // Required methods
    fn write_mesh(&self, mesh: &TriangleMesh, path: &Path) -> Result<()>;
    fn format_name(&self) -> &'static str;
}
Expand description

Trait for writing meshes to files

Required Methods§

Source

fn write_mesh(&self, mesh: &TriangleMesh, path: &Path) -> Result<()>

Write a mesh to the given path

Source

fn format_name(&self) -> &'static str

Get the format name this writer handles

Implementors§