|
MayaFlux 0.4.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 233 of file TextureContainer.cpp.