|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| std::shared_ptr< Core::VKImage > MayaFlux::Portal::Graphics::TextureLoom::acquire_cached_image | ( | ImageCacheEntry & | entry, |
| const ImageKey & | key | ||
| ) |
Reuse a matching image in an owner-held entry or create it once.
| entry | Cache entry retained by the image producer. |
| key | Immutable image allocation properties. |
Definition at line 434 of file TextureLoom.cpp.
References create_2d(), create_2d_array(), create_storage_image(), MayaFlux::Portal::Graphics::ImageKey::format, MayaFlux::Portal::Graphics::ImageKey::height, image, MayaFlux::Portal::Graphics::ImageCacheEntry::image, MayaFlux::Portal::Graphics::ImageCacheEntry::key, MayaFlux::Portal::Graphics::ImageKey::kind, MayaFlux::Portal::Graphics::ImageKey::layers, MayaFlux::Portal::Graphics::ImageKey::mip_levels, MayaFlux::Portal::Graphics::ImageKey::SAMPLED_2D, MayaFlux::Portal::Graphics::ImageKey::SAMPLED_ARRAY, MayaFlux::Core::VKImage::STORAGE, MayaFlux::Portal::Graphics::ImageKey::STORAGE_2D, MayaFlux::Core::VKImage::TEXTURE_2D, to_vulkan_format(), usage, and MayaFlux::Portal::Graphics::ImageKey::width.
Referenced by MayaFlux::Portal::Graphics::ImageCacheSet::acquire(), and refresh_cached_image().
Here is the call graph for this function:
Here is the caller graph for this function: