|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::connect_node_to_buffer | ( | const std::shared_ptr< Nodes::Node > & | node, |
| const std::shared_ptr< Buffers::AudioBuffer > & | buffer, | ||
| float | mix = 0.5F, |
||
| bool | clear_before = true |
||
| ) |
Connects a node to a specific buffer.
| node | Node to connect |
| buffer | Buffer to connect to |
| mix | Mix level (0.0 to 1.0) for blending node output with existing buffer content |
| clear_before | Whether to clear the buffer before adding node output |
Uses the default engine's node graph manager.
Definition at line 117 of file Graph.cpp.
References get_buffer_manager(), and mix().
Here is the call graph for this function: