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

◆ upload()

void MayaFlux::Yantra::GpuResourceManager::upload ( size_t  index,
const float *  data,
size_t  byte_size 
)

Definition at line 251 of file GpuResourceManager.cpp.

252{
253 auto& vk_slot = m_impl->buffers[index];
254 std::memcpy(vk_slot.mapped_ptr, data, byte_size);
255}
std::unique_ptr< GpuResourceManagerImpl > m_impl

References m_impl.

Referenced by MayaFlux::Yantra::GpuDispatchCore::prepare_gpu_inputs().

+ Here is the caller graph for this function: