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

◆ create_node_network()

template<typename NodeNetworkType , typename... Args>
requires std::derived_from<NodeNetworkType, Nodes::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 147 of file Graph.hpp.

148{
149 auto network = std::make_shared<NodeNetworkType>(std::forward<Args>(args)...);
150 register_node_network(network);
151 return network;
152}
void register_node_network(const std::shared_ptr< Nodes::NodeNetwork > &network, const Nodes::ProcessingToken &token)
Registers a node network with the default engine's node graph manager.
Definition Graph.cpp:126

References register_node_network().

+ Here is the call graph for this function: