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

◆ register_node_network()

MAYAFLUX_API void MayaFlux::register_node_network ( const std::shared_ptr< Nodes::Network::NodeNetwork > &  network,
const Nodes::ProcessingToken &  token = Nodes::ProcessingToken::AUDIO_RATE 
)

Registers a node network with the default engine's node graph manager.

Parameters
networkNodeNetwork to register

Adds the node network to the default engine's node graph manager. The network can then be used to manage nodes and their connections.

Definition at line 208 of file Graph.cpp.

209{
210 get_context().get_node_graph_manager()->add_network(network, token);
211}
Core::GlobalNetworkConfig network
Definition Config.cpp:43
std::shared_ptr< Nodes::NodeGraphManager > get_node_graph_manager()
Gets the node graph manager.
Definition Engine.hpp:267
Core::Engine & get_context()
Gets the default engine instance.
Definition Core.cpp:101

References get_context(), MayaFlux::Core::Engine::get_node_graph_manager(), and network.

Referenced by MayaFlux::Evolve::Impl::build_field(), create_node_network(), and register_network().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: