|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::DataWriteProcessor::set_data | ( | std::vector< Kakshya::DataVariant > | variants | ) |
Supply multiple data values for the next cycle.
Slot 0 is the primary upload path (modality-routed). Slots 1..N are uploaded raw and correspond to secondary resources (e.g. texture data alongside vertex data). The caller is responsible for ensuring the attached buffer and its RenderProcessor have been configured with matching descriptor bindings for any secondary slots.
Thread-safe. The full vector is swapped atomically on the next processing_function() call.
| variants | One or more DataVariant values. Must not be empty. |
Definition at line 32 of file DataWriteProcessor.cpp.
References m_data_dirty, and m_data_pending.