|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::FormaBuffer::submit | ( | const std::vector< uint8_t > & | bytes | ) |
Write vertex bytes into the buffer.
Called by Mapped::sync() each time the geometry function produces new vertex data. Copies bytes into the mapped host-visible region and marks the dirty range for flush on the next graphics tick.
| bytes | Raw interleaved vertex bytes. Must not exceed the capacity set at construction. |
Definition at line 149 of file FormaBuffer.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, m_pending_geometry, m_processor, and MF_RT_TRACE.