|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Buffers::download_host_visible | ( | const std::shared_ptr< VKBuffer > & | source, |
| const std::shared_ptr< VKBuffer > & | target | ||
| ) |
Download data from a host-visible buffer.
| source | Source VKBuffer to download data from |
| target | Target VKBuffer to store the downloaded data |
This function handles downloading data from a host-visible VKBuffer. It maps the buffer memory, copies the data into a CPU-accessible format, and updates the associated target buffer.
Definition at line 127 of file StagingUtils.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Registry::BackendRegistry::get_service(), and MayaFlux::Registry::BackendRegistry::instance().
Referenced by download_from_gpu(), and MayaFlux::Buffers::BufferDownloadProcessor::download_host_visible().
Here is the call graph for this function:
Here is the caller graph for this function: