|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Buffers::TextureArrayBuffer::submit_layer | ( | uint32_t | layer, |
| std::span< const uint8_t > | pixels | ||
| ) |
Replace the frame of one layer with raw pixels.
| layer | Layer index. |
| pixels | Exactly get_layer_byte_size() bytes. |
Definition at line 67 of file TextureArrayBuffer.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Buffers::create_image_staging_buffer(), MayaFlux::Buffers::TextureBuffer::get_pixel_data_mutable(), MayaFlux::Buffers::TextureBuffer::get_texture(), MayaFlux::Portal::Graphics::get_texture_manager(), m_layer_bytes, m_layer_mode, m_layer_staging, m_layers, MayaFlux::Buffers::TextureBuffer::mark_pixels_dirty(), MF_RT_ERROR, pixels, storage, and MayaFlux::Portal::Graphics::TextureLoom::upload_layer().
Referenced by submit_layer().
Here is the call graph for this function:
Here is the caller graph for this function: