|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::DataWriteProcessor::set_vertices | ( | const void * | data, |
| size_t | byte_count | ||
| ) |
Supply pre-packed interleaved vertex bytes for the next cycle.
data must point to N contiguous 60-byte Vertex records. byte_count must be a multiple of 60. Routed through the VERTICES_3D path: no channel assembly, no conversion.
Thread-safe. The bytes are copied into the pending slot and the dirty flag is set. Upload is deferred to processing_function() on the graphics thread.
| data | Pointer to interleaved vertex data. |
| byte_count | Total size in bytes; must be a multiple of 60. |
Definition at line 38 of file DataWriteProcessor.cpp.
References m_data_dirty, and m_data_pending.