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

◆ upload_device_local()

void MayaFlux::Buffers::BufferUploadProcessor::upload_device_local ( const std::shared_ptr< VKBuffer > &  target,
const Kakshya::DataVariant data 
)
private

Definition at line 60 of file BufferUploadProcessor.cpp.

61{
63 auto staging_buffer = m_staging_buffers[target];
64 Buffers::upload_device_local(target, staging_buffer, data);
65}
std::unordered_map< std::shared_ptr< Buffer >, std::shared_ptr< VKBuffer > > m_staging_buffers
void ensure_staging_buffer(const std::shared_ptr< VKBuffer > &target)
void upload_device_local(const std::shared_ptr< VKBuffer > &target, const std::shared_ptr< VKBuffer > &staging_buffer, const Kakshya::DataVariant &data)
Upload data to a device-local buffer using a staging buffer.

References ensure_staging_buffer(), m_staging_buffers, and MayaFlux::Buffers::upload_device_local().

Referenced by processing_function().

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