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

◆ to_image() [1/2]

std::shared_ptr< Core::VKImage > MayaFlux::Kakshya::TextureContainer::to_image ( uint32_t  layer,
const std::shared_ptr< Buffers::VKBuffer > &  staging 
) const

Refresh one layer's cached VKImage with caller-supplied staging.

Reuses the container-owned image and uploads via the supplied staging buffer.

Parameters
layerArray layer index (default 0).
stagingHost-visible staging VKBuffer sized to at least byte_size().
Returns
Cached VKImage, or nullptr on failure.

Definition at line 355 of file TextureContainer.cpp.

357{
358 return cached_layer_image(layer, staging);
359}
std::shared_ptr< Core::VKImage > cached_layer_image(uint32_t layer, const std::shared_ptr< Buffers::VKBuffer > &staging) const

References cached_layer_image().

+ Here is the call graph for this function: