|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Portal::Forma::Bridge::bind | ( | uint32_t | id, |
| std::function< float()> | source | ||
| ) |
Drive element value from an arbitrary per-frame callable.
Spawns a GraphicsRoutine that calls source every tick and writes the result into the element's MappedState. Replaces any existing inbound binding on this element.
| id | Element id. |
| source | Callable returning current float value. |
Definition at line 54 of file Bridge.cpp.
References spawn_inbound().
Here is the call graph for this function: