MayaFlux 0.1.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 52 of file BufferDownloadProcessor.cpp.

53{
54 auto target_it = m_target_map.find(source);
55 if (target_it == m_target_map.end() || !target_it->second) {
56 return;
57 }
58 auto target = target_it->second;
59
60 Buffers::download_host_visible(source, std::dynamic_pointer_cast<VKBuffer>(target));
61}
std::unordered_map< std::shared_ptr< Buffer >, std::shared_ptr< Buffer > > m_target_map
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: