|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Kakshya::TextureContainer::TextureContainer | ( | const std::shared_ptr< Core::VKImage > & | image, |
| 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().
Definition at line 76 of file TextureContainer.cpp.
References from_image(), and image.
Here is the call graph for this function: