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

◆ unregister_node_network()

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

Unregisters a node network from the default engine's node graph manager.

Parameters
networkNodeNetwork to unregister

Removes the node network from the default engine's node graph manager. The network will no longer be available for managing nodes and their connections.

Definition at line 213 of file Graph.cpp.

214{
215 get_context().get_node_graph_manager()->remove_network(network, token);
216}
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.

+ Here is the call graph for this function: