|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kakshya::TextureContainer::from_image_array | ( | const std::shared_ptr< Core::VKImage > & | image | ) |
Download each array layer of a Vulkan 2D array image into the corresponding layer slot.
Expects image to have array_layers == get_layer_count(). Downloads each layer via a separate blocking TextureLoom::download_data call. Resizes m_data to match if necessary.
| image | Source VKImage with array_layers >= get_layer_count(). |
Definition at line 278 of file TextureContainer.cpp.
References byte_size(), MayaFlux::Journal::ContainerProcessing, MayaFlux::Portal::Graphics::TextureLoom::download_data(), image, MayaFlux::Portal::Graphics::TextureLoom::instance(), MayaFlux::Journal::Kakshya, m_channels, m_cpu_stale, m_data, m_format, m_height, m_normalised_dirty, m_slot_locks, m_width, MayaFlux::Kakshya::make_empty_storage(), MF_ERROR, ptr, MayaFlux::Kakshya::READY, update_processing_state(), and MayaFlux::Kakshya::variant_bytes_mutable().
Here is the call graph for this function: