|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API bool MayaFlux::save_mesh | ( | const std::shared_ptr< Buffers::MeshBuffer > & | buffer, |
| const std::string & | suggested_name = "output.gltf" |
||
| ) |
Present a native save-file dialog filtered to 3D model formats and save buffer to the chosen path via IOManager::save_mesh().
Blocks until the user confirms or cancels. Synchronous: MeshBuffer's mesh data is always CPU-resident, so there is no download step to queue, unlike save_image/save_volume. Returns false on cancellation, backend error, or if Portal::System is not initialized.
| buffer | Source MeshBuffer to encode. |
| suggested_name | Filename pre-filled in the dialog name field. |
Definition at line 284 of file Depot.cpp.
References buffer, and save_mesh().
Referenced by save_mesh(), and save_mesh().
Here is the call graph for this function:
Here is the caller graph for this function: