|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Kakshya::TextureContainer::TextureContainer | ( | const std::shared_ptr< Core::VKImage > & | image, |
| Portal::Graphics::ImageFormat | format | ||
| ) |
Construct from an existing VKImage, downloading its pixel data.
| image | Source GPU texture. Must be initialized. |
| format | Pixel format of the image. |
Performs a blocking GPU->CPU download via TextureLoom. Equivalent to constructing empty then calling from_image().