|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Portal::Graphics::TextureLoom::blit_layer | ( | const std::shared_ptr< Core::VKImage > & | src, |
| const std::shared_ptr< Core::VKImage > & | dst, | ||
| const LayerBlit & | blit = {}, |
||
| bool | deferred = false |
||
| ) |
Copy a layer of one image into a layer of another, scaling to fit.
Works between any two color images, so it writes GPU images into an array layer without a host read, and also converts between supported formats. A cubic filter is not available and falls back to linear.
| src | Source image, distinct from dst. |
| dst | Destination image. |
| blit | Layers, rectangles, filter and flips. |
| deferred | Record for deferred submission. |
Definition at line 766 of file TextureLoom.cpp.
References MayaFlux::Core::BackendResourceManager::blit_image(), color, MayaFlux::Portal::Graphics::CUBIC, dst, MayaFlux::Portal::Graphics::LayerBlit::dst, MayaFlux::Portal::Graphics::LayerBlit::dst_layer, MayaFlux::Portal::Graphics::LayerBlit::filter, MayaFlux::Portal::Graphics::LayerBlit::flip_x, MayaFlux::Portal::Graphics::LayerBlit::flip_y, MayaFlux::Journal::ImageProcessing, is_initialized(), m_resource_manager, MF_ERROR, MF_WARN, MayaFlux::Journal::Portal, src, MayaFlux::Portal::Graphics::LayerBlit::src, and MayaFlux::Portal::Graphics::LayerBlit::src_layer.
Here is the call graph for this function: