|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Kakshya::VertexInsertion::insert_interleaved | ( | std::span< const uint8_t > | vertex_bytes, |
| const VertexLayout & | layout | ||
| ) |
Replace the channel list with the attributes of interleaved vertices.
The vertex count is derived from the byte count, not from layout.vertex_count, so a layout describing capacity cannot over-read.
| vertex_bytes | Interleaved vertices; size must be a nonzero multiple of layout.stride_bytes. |
| layout | Attribute offsets and stride of vertex_bytes. |
Definition at line 93 of file VertexInsertion.cpp.
References MayaFlux::Kakshya::VertexLayout::attributes, count, MayaFlux::Journal::Kakshya, layout(), m_channels, m_layout, MF_DEBUG, MF_ERROR, MayaFlux::Journal::Runtime, MayaFlux::Kakshya::VertexLayout::stride_bytes, and MayaFlux::Kakshya::VertexLayout::vertex_count.
Referenced by MayaFlux::Buffers::DataReadProcessor::resolve_vertices().
Here is the call graph for this function:
Here is the caller graph for this function: