|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::VolumeGridBuffer::read_field | ( | const std::string & | name, |
| void * | data, | ||
| size_t | size | ||
| ) |
Copy the current read slot of a field to host memory.
| name | Field name. |
| data | Destination pointer, at least get_field_bytes(name) bytes. |
| size | Byte count; must equal get_field_bytes(name). |
Blocking. Records a fenced device-to-host copy and waits on it from the calling thread. Not for per-frame use on the graphics thread.
Definition at line 605 of file VolumeGridBuffer.cpp.
References MayaFlux::Journal::BufferManagement, MayaFlux::Journal::Buffers, MayaFlux::Buffers::download_back_buffer(), find_field(), MayaFlux::Buffers::VKBuffer::get_buffer_resources(), get_cell_count(), m_pending_transfer, m_transfer_staging, MF_ERROR, and MayaFlux::Buffers::resolve_transfer().
Referenced by accumulate().
Here is the call graph for this function:
Here is the caller graph for this function: