MayaFlux 0.5.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 65 of file BufferUploadProcessor.cpp.

66{
68 auto staging_buffer = m_staging_buffers[target];
69 Buffers::upload_device_local(target, staging_buffer, data);
70}
std::unordered_map< std::shared_ptr< Buffer >, std::shared_ptr< VKBuffer > > m_staging_buffers
Maps target VKBuffer -> staging buffer (for device-local transfers)
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, size_t dst_offset)
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: