|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::NodeGraphManager::register_token_processor | ( | ProcessingToken | token, |
| std::function< void(std::span< RootNode * >)> | processor | ||
| ) |
Register subsystem processor for a specific token.
| token | Processing domain to handle (e.g., AUDIO_RATE, VISUAL_RATE) |
| processor | Function that receives a span of root nodes for that token |
Registers a custom processing function for a given processing domain (token). When process_token() is called for that token, the registered processor will be invoked with a span of all root nodes for that domain, enabling efficient backend-specific or multi-channel processing.
Definition at line 35 of file NodeGraphManager.cpp.
References m_token_processors, and token.