|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| std::shared_ptr< Core::VKImage > MayaFlux::Kakshya::WindowContainer::to_image | ( | ) | const |
Upload the full surface readback to a container-owned VKImage.
Requires at least one completed readback (processed_data[0] non-empty and of type vector<uint8_t>). Reuses the image while dimensions and format match. The returned image is refreshed in place by later calls, so it is a live image rather than a snapshot.
Definition at line 188 of file WindowContainer.cpp.
References format, get_image_format(), MayaFlux::Portal::Graphics::TextureLoom::instance(), m_image_cache_lock, m_surface_image, pixels, MayaFlux::Portal::Graphics::TextureLoom::refresh_cached_image(), and snapshot_pixels().
Here is the call graph for this function: