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

◆ create_node()

template<typename NodeType , typename... Args>
requires std::derived_from<NodeType, Nodes::Node>
auto MayaFlux::create_node ( Args &&...  args) -> std::shared_ptr<NodeType>

Definition at line 108 of file Graph.hpp.

109{
110 auto node = std::make_shared<NodeType>(std::forward<Args>(args)...);
112 return node;
113}
void register_audio_node(const std::shared_ptr< Nodes::Node > &node, uint32_t channel)
Adds a node to the root node of a specific channel.
Definition Graph.cpp:23

References register_audio_node().

+ Here is the call graph for this function: