|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| std::shared_ptr< Core::VKImage > MayaFlux::Kakshya::WindowContainer::to_image | ( | const std::shared_ptr< Buffers::VKBuffer > & | staging | ) | const |
Refresh the full surface VKImage, reusing a caller-supplied persistent staging buffer.
The container retains the image. The supplied staging buffer is used for this upload.
| staging | Host-visible staging VKBuffer sized to at least width * height * bytes_per_pixel. |
Definition at line 201 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: