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

◆ upload_raw()

void MayaFlux::Yantra::GpuResourceManager::upload_raw ( size_t  index,
const uint8_t *  data,
size_t  byte_size 
)

Definition at line 217 of file GpuResourceManager.cpp.

218{
219 auto& foundry = Portal::Graphics::get_shader_foundry();
220 auto& vk_slot = m_impl->buffers[index];
221 map_copy_unmap(foundry.get_device(), vk_slot.memory, data, byte_size);
222}
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: