|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Portal::Graphics::TextureLoom::upload_layer | ( | const std::shared_ptr< Core::VKImage > & | image, |
| uint32_t | layer, | ||
| const void * | data, | ||
| size_t | size, | ||
| const std::shared_ptr< Buffers::VKBuffer > & | staging = nullptr, |
||
| bool | deferred = false |
||
| ) |
Upload pixels into one layer of an array image.
The other layers keep their contents. size must be one layer's byte count.
| image | Array image. |
| layer | Layer index. |
| data | Pixels of one layer. |
| size | Byte count of one layer. |
| staging | Persistent staging buffer, or nullptr for a per-call one. |
| deferred | Record for deferred submission (requires staging). |
Definition at line 736 of file TextureLoom.cpp.
References image, MayaFlux::Journal::ImageProcessing, is_initialized(), m_resource_manager, MF_ERROR, MayaFlux::Journal::Portal, size, and MayaFlux::Core::BackendResourceManager::upload_image_layer().
Referenced by MayaFlux::Buffers::TextureArrayBuffer::clear_layer(), and MayaFlux::Buffers::TextureArrayBuffer::submit_layer().
Here is the call graph for this function:
Here is the caller graph for this function: