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

◆ download()

void MayaFlux::Yantra::GpuResourceManager::download ( const std::string &  key,
size_t  index,
float *  dest,
size_t  byte_size 
)

Definition at line 331 of file GpuResourceManager.cpp.

332{
333 auto& vk_slot = unit_for(key).impl->buffers[index];
334 std::memcpy(dest, vk_slot.mapped_ptr, byte_size);
335}
PipelineUnit & unit_for(const std::string &key)
std::unique_ptr< GpuResourceManagerImpl > impl

References MayaFlux::Yantra::GpuResourceManager::PipelineUnit::impl, and unit_for().

Referenced by MayaFlux::Yantra::GpuDispatchCore::download_binding(), MayaFlux::Yantra::GpuDispatchCore::readback_aux(), and MayaFlux::Yantra::GpuDispatchCore::readback_primary().

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