|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Buffers::ShaderProcessor::download_bound | ( | const std::string & | descriptor_name, |
| void * | data, | ||
| size_t | size, | ||
| const std::shared_ptr< VKBuffer > & | staging = nullptr |
||
| ) | const |
Download the buffer currently bound to a named descriptor.
| descriptor_name | Logical name previously bound via bind_buffer. |
| data | Destination pointer, at least the bound buffer's size in bytes. |
| size | Byte count to copy. |
| staging | Optional staging buffer, forwarded to download_from_gpu. |
Definition at line 191 of file ShaderProcessor.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Buffers::download_from_gpu(), get_bound_buffer(), and MF_ERROR.
Here is the call graph for this function: