|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::BufferDownloadProcessor::configure_back_buffers | ( | const std::shared_ptr< Buffer > & | source, |
| std::vector< std::shared_ptr< Buffer > > | targets | ||
| ) |
Configure targets to receive downloads of every entry in a VKBuffer's back_buffers, re-read every processing cycle.
| source | VKBuffer whose back_buffers is being downloaded in full. |
| targets | CPU-side buffers to write into, one per back_buffers entry, in order. |
back_buffers.size() is read fresh each call. If targets.size() does not match at process time, the call is skipped with an error rather than partially applied. Interpretation of individual entries (which one is "current", "front", or otherwise meaningful) is the calling code's concern; this call only moves bytes.
Definition at line 182 of file BufferDownloadProcessor.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, m_back_buffers_target_map, and MF_INFO.