|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::GeometryWriteProcessor::set_vertices | ( | const void * | data, |
| size_t | byte_count, | ||
| const Kakshya::VertexLayout & | layout | ||
| ) |
Supply pre-resolved vertex bytes for the next cycle.
| data | Pointer to vertex data. |
| byte_count | Total size in bytes. |
| layout | VertexLayout describing stride and attributes. |
Bypasses as_*_vertex_access conversion entirely. The processor copies the data and uploads it on the next graphics cycle.
Definition at line 19 of file GeometryWriteProcessor.cpp.
References MayaFlux::Buffers::VertexSnapshot::bytes, MayaFlux::Buffers::VertexSnapshot::layout, m_pending_vertices, and m_vertices_dirty.