|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| std::shared_ptr< Core::VKImage > MayaFlux::Kakshya::TextureContainer::to_image | ( | uint32_t | layer = 0 | ) | const |
Upload the pixel buffer to a new VKImage via TextureLoom.
| layer | Array layer index for array textures (default 0). |
Creates a fresh 2D texture each call. Does not cache the result. The returned image is owned by TextureLoom's internal registry.
Definition at line 272 of file TextureContainer.cpp.
References MF_ERROR.
Referenced by MayaFlux::Yantra::TextureExecutionContext::stage_input().
Here is the caller graph for this function: