|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| SliceSet::SliceId MayaFlux::Buffers::SliceSet::add | ( | std::span< const uint8_t > | bytes, |
| std::optional< Portal::Graphics::PrimitiveTopology > | topology = std::nullopt |
||
| ) |
Append a block at the end of memory and draw order.
| bytes | Whole vertices. |
| topology | Topology of this block; the set's default when omitted. |
bytes is not a whole number of vertices. Definition at line 22 of file SliceSet.cpp.
References MayaFlux::Journal::BufferManagement, MayaFlux::Journal::Buffers, MayaFlux::Buffers::SliceSet::Slice::byte_offset, m_draw_order, m_memory_order, m_mirror, m_next_id, m_runs_changed, m_slices, m_stride, m_topology, mark_dirty(), MF_ERROR, offset, and topology.
Referenced by MayaFlux::Buffers::FormaProcessor::add_slice(), and MayaFlux::Buffers::FormaProcessor::set_bytes().
Here is the call graph for this function:
Here is the caller graph for this function: