|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::IO::IOManager::save_mesh_snapshot | ( | const std::shared_ptr< Buffers::ComputeMeshBuffer > & | buffer, |
| const std::string & | path_pattern, | ||
| const IO::ModelWriteOptions & | options = {} |
||
| ) |
Save a ComputeMeshBuffer with a millisecond epoch timestamp spliced into the path, queued asynchronously.
The timestamp is computed on the worker thread at the moment the readback actually runs, not at the moment this call returns, so repeated presses in quick succession still each land in their own file rather than racing on a single path computed up front.
Definition at line 1035 of file IOManager.cpp.
References MayaFlux::Journal::API, buffer, MayaFlux::IO::Detail::execute_mesh_snapshot(), MayaFlux::Journal::FileIO, MF_ERROR, and track_save_task().
Here is the call graph for this function: