|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::NodeGraphManager::route_node_to_channels | ( | const std::shared_ptr< Node > & | node, |
| const std::vector< uint32_t > & | target_channels, | ||
| uint32_t | fade_cycles, | ||
| ProcessingToken | token | ||
| ) |
Routes a node's output to specific channels within a token domain.
| node | Node to route |
| target_channels | Vector of channel indices to route the node's output to |
| fade_cycles | Number of cycles to fade in the routing (optional) |
| token | Processing domain to route within |
This method adds the specified node to the root nodes of the target channels within the given processing domain. If fade_cycles is greater than 0, the routing will be smoothly faded in over that many processing cycles.
Definition at line 688 of file NodeGraphManager.cpp.
References MayaFlux::Nodes::RoutingState::ACTIVE, add_to_root(), MayaFlux::Nodes::RoutingState::amount, MayaFlux::Nodes::RoutingState::fade_cycles, MayaFlux::Nodes::RoutingState::from_channels, m_registered_block_size, and MayaFlux::Nodes::RoutingState::to_channels.
Here is the call graph for this function: