|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::MeshBuffer::set_vertex_data | ( | std::span< const uint8_t > | bytes | ) |
Replace vertex bytes entirely and mark vertices dirty.
Intended for deformation: caller writes new interleaved bytes (same stride as the original layout) and the next graphics cycle re-uploads. Does not change index data or layout.
| bytes | Raw interleaved vertex bytes. Size must be a multiple of m_mesh_data.layout.stride_bytes. |
Definition at line 183 of file MeshBuffer.cpp.
References MF_ERROR.