MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ save_text_buffer()

bool MayaFlux::IO::save_text_buffer ( const std::shared_ptr< Buffers::TextBuffer > &  buffer,
const std::string &  filepath,
const ImageWriteOptions options = {} 
)

Save a TextBuffer's rendered glyph texture to disk.

TextBuffer inherits from TextureBuffer, so this is a convenience alias with type-specific documentation. The RGBA8 coverage texture is written to disk with transparency preserved when the target format supports it (PNG, TGA, EXR). JPG discards alpha.

Definition at line 192 of file ImageExport.cpp.

196{
197 return save_texture_buffer(buffer, filepath, options);
198}
bool 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.

References save_texture_buffer().

+ Here is the call graph for this function: