MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ write()

virtual bool MayaFlux::IO::ModelWriter::write ( const std::string &  filepath,
const std::vector< Kakshya::MeshData > &  meshes,
const ModelWriteOptions options = {} 
)
pure virtual

Write one or more meshes to disk as a single scene.

Parameters
filepathDestination path.
meshesOne or more meshes. Must each satisfy MeshData::is_valid().
optionsFormat-specific options.
Returns
true on success. On failure call get_last_error().

Implemented in MayaFlux::IO::AssimpModelWriter.