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

◆ create_node_network()

template<typename NodeNetworkType , typename... Args>
requires std::derived_from<NodeNetworkType, Nodes::Network::NodeNetwork>
auto MayaFlux::create_node_network ( Args &&...  args) -> std::shared_ptr<NodeNetworkType>

Creates a new node network.

Returns
Shared pointer to the created NodeNetwork

This function creates a new node network that can be used to manage complex node graphs with multiple channels and processing domains.

Definition at line 154 of file Graph.hpp.

155{
156 auto network = std::make_shared<NodeNetworkType>(std::forward<Args>(args)...);
157 register_node_network(network);
158 return network;
159}
void register_node_network(const std::shared_ptr< Nodes::Network::NodeNetwork > &network, const Nodes::ProcessingToken &token)
Registers a node network with the default engine's node graph manager.
Definition Graph.cpp:156

References register_node_network().

+ Here is the call graph for this function: