|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| std::optional< ImageData > MayaFlux::IO::download_texture_buffer | ( | const std::shared_ptr< Buffers::TextureBuffer > & | buffer | ) |
Download a TextureBuffer's GPU texture into host ImageData.
Convenience wrapper over download_image() that pulls the VKImage from TextureBuffer::get_gpu_texture(). Returns nullopt if the texture is not yet allocated (buffer has not been processed at least once).
Definition at line 124 of file ImageExport.cpp.
References download_image(), MayaFlux::Journal::FileIO, image, MayaFlux::Journal::IO, and MF_ERROR.
Here is the call graph for this function: