|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| FormaProcessor::SliceId MayaFlux::Buffers::FormaProcessor::add_slice | ( | const std::vector< uint8_t > & | bytes, |
| std::optional< Portal::Graphics::PrimitiveTopology > | topology = std::nullopt |
||
| ) |
Append a slice, drawn after the existing ones.
Returns 0 on failure.
| topology | Topology of this slice; the processor's when omitted. A slice of a different topology needs a render processor that triangulates, otherwise only matching topologies draw correctly. |
Definition at line 50 of file FormaProcessor.cpp.
References MayaFlux::Buffers::SliceSet::add(), m_changed, m_slices, topology, and whole_vertices().
Here is the call graph for this function: