|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Buffers::TextureArrayBuffer::submit_layer | ( | uint32_t | layer, |
| const std::shared_ptr< Core::VKImage > & | image | ||
| ) |
Replace the frame of one layer with a GPU image, with no host read.
The image is blitted into the layer, converting format and fitting its extent as set_fit says. It must not be this buffer's own image.
Definition at line 136 of file TextureArrayBuffer.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, clear_layer(), enter_layer_mode(), fit_for(), MayaFlux::Buffers::TextureBuffer::get_height(), MayaFlux::Buffers::TextureBuffer::get_texture(), MayaFlux::Portal::Graphics::get_texture_manager(), MayaFlux::Buffers::TextureBuffer::get_width(), image, m_filter, m_layer_mode, m_layers, MF_RT_ERROR, MayaFlux::Portal::Graphics::SamplerForge::plan_fit(), and MayaFlux::Portal::Graphics::STRETCH.
Here is the call graph for this function: