|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kakshya::TextureContainer::from_image | ( | const std::shared_ptr< Core::VKImage > & | image, |
| uint32_t | layer = 0 |
||
| ) |
Download pixel data from a VKImage into this container.
| image | Source GPU texture. Must be initialized and match dimensions. |
| layer | Array layer index for array textures (default 0). |
Blocking. Overwrites the existing pixel buffer. Does not change declared width, height, or format — caller must ensure consistency.
Definition at line 207 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().
Referenced by TextureContainer().
Here is the call graph for this function:
Here is the caller graph for this function: