31 const std::shared_ptr<Core::VKImage>&
image);
41 const std::shared_ptr<Buffers::TextureBuffer>& buffer);
57 const std::shared_ptr<Core::VKImage>&
image,
58 const std::string& filepath,
59 const ImageWriteOptions& options = {});
68 const std::shared_ptr<Buffers::TextureBuffer>& buffer,
69 const std::string& filepath,
70 const ImageWriteOptions& options = {});
81 const std::shared_ptr<Buffers::TextBuffer>& buffer,
82 const std::string& filepath,
83 const ImageWriteOptions& options = {});
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.
bool save_image(const std::shared_ptr< Core::VKImage > &image, const std::string &filepath, const ImageWriteOptions &options)
Save a VKImage directly to disk via the ImageWriter registry.
bool 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.
std::optional< ImageData > download_texture_buffer(const std::shared_ptr< Buffers::TextureBuffer > &buffer)
Download a TextureBuffer's GPU texture into host ImageData.
std::optional< ImageData > download_image(const std::shared_ptr< Core::VKImage > &image)
Download pixel data from a GPU-resident VKImage into host ImageData.