|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Buffers::TextureArrayBuffer::submit_layer | ( | uint32_t | layer, |
| const Kakshya::ImageData & | image | ||
| ) |
Replace the frame of one layer with an image.
An image of the layer's extent and format is stored as raw pixels. Any other is uploaded and fitted, or dropped when set_fit chose nullopt.
Definition at line 94 of file TextureArrayBuffer.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Buffers::create_image_staging_buffer(), fit_for(), MayaFlux::Buffers::TextureBuffer::get_format(), MayaFlux::Buffers::TextureBuffer::get_height(), MayaFlux::Portal::Graphics::get_texture_manager(), MayaFlux::Buffers::TextureBuffer::get_width(), image, m_layers, m_source_cache, m_source_staging, MF_RT_ERROR, MayaFlux::Portal::Graphics::TextureLoom::refresh_cached_image(), submit_layer(), and MayaFlux::Portal::Graphics::ImageKey::width.
Here is the call graph for this function: