MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ TextureContainer() [2/4]

MayaFlux::Kakshya::TextureContainer::TextureContainer ( const std::shared_ptr< Core::VKImage > &  image,
Portal::Graphics::ImageFormat  format 
)

Construct from an existing VKImage, downloading its pixel data.

Parameters
imageSource GPU texture. Must be initialized.
formatPixel format of the image.

Performs a blocking GPU->CPU download via TextureLoom. Equivalent to constructing empty then calling from_image().