|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| std::shared_ptr< Core::VKImage > MayaFlux::Portal::Graphics::TextureLoom::refresh_cached_image | ( | ImageCacheEntry & | entry, |
| const ImageKey & | key, | ||
| std::span< const uint8_t > | pixels, | ||
| const std::shared_ptr< Buffers::VKBuffer > & | staging = {} |
||
| ) |
Refresh a sampled image in an owner-held cache entry.
| entry | Cache entry retained by the image producer. |
| key | Sampled image allocation properties. |
| pixels | Complete pixel bytes for every layer. |
| staging | Optional caller staging buffer. Without one, upload_data uses its existing transient staging path. |
Definition at line 480 of file TextureLoom.cpp.
References acquire_cached_image(), calculate_image_size(), MayaFlux::Portal::Graphics::ImageKey::format, MayaFlux::Portal::Graphics::ImageKey::height, image, MayaFlux::Journal::ImageProcessing, MayaFlux::Portal::Graphics::ImageKey::kind, MayaFlux::Portal::Graphics::ImageKey::layers, MF_ERROR, pixels, MayaFlux::Journal::Portal, MayaFlux::Portal::Graphics::ImageKey::STORAGE_2D, upload_data(), and MayaFlux::Portal::Graphics::ImageKey::width.
Referenced by MayaFlux::Kakshya::TextureContainer::cached_array_image(), MayaFlux::Kakshya::TextureContainer::cached_layer_image(), MayaFlux::Kakshya::WindowContainer::image_at(), MayaFlux::Kakshya::WindowContainer::image_at(), MayaFlux::Kakshya::WindowContainer::region_to_image(), MayaFlux::Buffers::TextureArrayBuffer::submit_layer(), MayaFlux::Kakshya::WindowContainer::to_image(), and MayaFlux::Kakshya::WindowContainer::to_image().
Here is the call graph for this function:
Here is the caller graph for this function: