|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::VolumeGridBuffer::seed_raw | ( | const std::string & | name, |
| const void * | data, | ||
| size_t | size | ||
| ) |
Write initial values into a field from raw host memory.
| name | Field name. |
| data | Pointer to at least size bytes. |
| size | Byte count; must equal get_field_bytes(name). |
Writes into the current read slot. For double-buffered fields the write slot is left untouched, which is correct when the first stage to touch the field reads before it writes.
Definition at line 517 of file VolumeGridBuffer.cpp.
References MayaFlux::Journal::BufferManagement, MayaFlux::Journal::Buffers, find_field(), MayaFlux::Buffers::VKBuffer::get_buffer_resources(), get_cell_count(), m_pending_transfer, m_transfer_staging, MF_ERROR, MayaFlux::Buffers::resolve_transfer(), and MayaFlux::Buffers::upload_back_buffer_async().
Referenced by accumulate(), and seed().
Here is the call graph for this function:
Here is the caller graph for this function: