|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| uint32_t MayaFlux::Nodes::Network::MeshNetwork::add_slot | ( | std::string | name, |
| std::shared_ptr< GpuSync::MeshWriterNode > | node, | ||
| std::optional< uint32_t > | parent = std::nullopt |
||
| ) |
Add a slot to the network.
| name | Logical name for lookup and logging. |
| node | MeshWriterNode carrying the slot's geometry. |
| parent | Index of the parent slot, or nullopt for a root slot. |
Definition at line 23 of file MeshNetwork.cpp.
References MayaFlux::Nodes::Network::MeshSlot::dirty, MayaFlux::Nodes::Network::MeshSlot::index, MayaFlux::Journal::Init, m_slots, m_sort_dirty, MF_DEBUG, MayaFlux::Nodes::Network::MeshSlot::name, MayaFlux::Nodes::Network::MeshSlot::node, MayaFlux::Journal::Nodes, and MayaFlux::Nodes::Network::MeshSlot::parent_index.