|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Portal::Graphics::TextureLoom::upload_data | ( | const std::shared_ptr< Core::VKImage > & | image, |
| const void * | data, | ||
| size_t | size | ||
| ) |
Upload pixel data to an existing texture.
| image | Target image |
| data | Pixel data pointer |
| size | Data size in bytes |
Handles staging buffer, layout transitions, and cleanup. Blocks until upload completes.
Definition at line 331 of file TextureLoom.cpp.
References MayaFlux::Journal::ImageProcessing, is_initialized(), m_resource_manager, MF_ERROR, MayaFlux::Journal::Portal, and MayaFlux::Core::BackendResourceManager::upload_image_data().
Referenced by create_2d(), create_3d(), and create_cubemap().
Here is the call graph for this function:
Here is the caller graph for this function: