MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_slots()

void MayaFlux::Nodes::Network::MeshOperator::set_slots ( std::vector< MeshSlot > &  slots,
const std::vector< uint32_t > &  order 
)
inline

Supply the slot list and processing order for the coming cycle.

Parameters
slotsReference to the MeshNetwork's slot storage.
orderIndices into slots in topological order (parents first).

Called by MeshNetwork::process_batch() before process(dt). The reference must remain valid for the duration of the cycle.

Definition at line 36 of file MeshOperator.hpp.

38 {
39 m_slots = &slots;
40 m_order = &order;
41 }
const std::vector< uint32_t > * m_order
std::vector< MeshSlot > * m_slots