MayaFlux 0.3.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 222 of file Graph.hpp.

223{
224 auto network = std::make_shared<NodeNetworkType>(std::forward<Args>(args)...);
225 register_node_network(network);
226 return network;
227}
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:178

References register_node_network().

+ Here is the call graph for this function: