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 210 of file GpuResourceManager.cpp.

211{
212 auto& foundry = Portal::Graphics::get_shader_foundry();
213 auto& vk_slot = m_impl->buffers[index];
214 map_copy_unmap(foundry.get_device(), vk_slot.memory, data, byte_size);
215}
std::unique_ptr< GpuResourceManagerImpl > m_impl
MAYAFLUX_API ShaderFoundry & get_shader_foundry()
Get the global shader compiler instance.

References MayaFlux::Portal::Graphics::get_shader_foundry(), and m_impl.

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

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