|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::IO::save_texture_buffer | ( | const std::shared_ptr< Buffers::TextureBuffer > & | buffer, |
| const std::string & | filepath, | ||
| const ImageWriteOptions & | options = {} |
||
| ) |
Save a TextureBuffer's current GPU state to disk.
Equivalent to download_texture_buffer() + save_image(). Most common entry point for writing rendered output to a file.
Definition at line 173 of file ImageExport.cpp.
References MayaFlux::Journal::FileIO, image, MayaFlux::Journal::IO, MF_ERROR, and save_image().
Referenced by save_text_buffer().
Here is the call graph for this function:
Here is the caller graph for this function: