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

◆ save_text_buffer()

MAYAFLUX_API 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 102 of file ImageExport.cpp.

106{
107 return save_texture_buffer(buffer, filepath, options);
108}
std::shared_ptr< NetworkGeometryBuffer > buffer
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 buffer, and save_texture_buffer().

+ Here is the call graph for this function: