|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::IO::save_mesh | ( | const std::shared_ptr< Nodes::GpuSync::MeshWriterNode > & | node, |
| const std::string & | filepath, | ||
| const ModelWriteOptions & | options = {} |
||
| ) |
Save a bare MeshWriterNode's current vertices/indices to disk.
For geometry driven directly through GeometryBuffer rather than wrapped in a MeshBuffer. No world transform is applied: a bare node has none of its own, unlike a MeshNetwork slot.
| node | Source node. Must have both vertices and indices set. |
| filepath | Destination path with extension. |
| options | Format-specific writer options. |
Definition at line 270 of file ModelExport.cpp.
References MayaFlux::Journal::FileIO, MayaFlux::Journal::IO, and MF_ERROR.