|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::VolumeGridBuffer::swap_field | ( | const std::string & | name | ) |
Exchange read and write slots for the named field.
| name | Field name. No effect on single-slot fields. |
Called by whichever stage last wrote the field, after its dispatch, so the next stage reading it observes the new values. A stage that writes a field it also reads must swap; a stage writing a scratch field consumed immediately after need not.
Definition at line 443 of file VolumeGridBuffer.cpp.
References MayaFlux::Journal::BufferManagement, MayaFlux::Journal::Buffers, m_fields, and MF_ERROR.