|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::IO::save_mesh_snapshot | ( | const std::shared_ptr< Buffers::MeshBuffer > & | buffer, |
| const std::string & | path_pattern, | ||
| const ModelWriteOptions & | options = {} |
||
| ) |
Save with a millisecond epoch timestamp spliced into the path.
For the "save whenever, whatever it looks like right now" case: a caller watching a live-deforming mesh who wants to catch a particular passing state, as many times as they like, without managing a counter or overwriting the last capture. Needs no state of its own, unlike a frame-numbered sequence.
| buffer | Source mesh. |
| path_pattern | Path with one std::format replacement field for the timestamp, e.g. "drone_{}.obj". |
| options | Format-specific writer options. |
Definition at line 378 of file ModelExport.cpp.
References buffer, and save_mesh().
Here is the call graph for this function: