MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ download_host_visible()

void MayaFlux::Buffers::BufferDownloadProcessor::download_host_visible ( const std::shared_ptr< VKBuffer > &  source)
private

Definition at line 57 of file BufferDownloadProcessor.cpp.

58{
59 auto target_it = m_target_map.find(source);
60 if (target_it == m_target_map.end() || !target_it->second) {
61 return;
62 }
63 auto target = target_it->second;
64
65 Buffers::download_host_visible(source, std::dynamic_pointer_cast<VKBuffer>(target));
66}
std::unordered_map< std::shared_ptr< Buffer >, std::shared_ptr< Buffer > > m_target_map
Maps source VKBuffer -> target Buffer.
void download_host_visible(const std::shared_ptr< VKBuffer > &source, const std::shared_ptr< VKBuffer > &target)
Download data from a host-visible buffer.

References MayaFlux::Buffers::download_host_visible(), and m_target_map.

Referenced by processing_function().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: