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

◆ get_channel_count()

unsigned int MayaFlux::Nodes::NodeGraphManager::get_channel_count ( ProcessingToken  token) const

Get the number of active channels for a specific token.

Parameters
tokenProcessing domain
Returns
Number of channels that have active root nodes

Definition at line 255 of file NodeGraphManager.cpp.

256{
257 auto channels = get_all_channels(token);
258 return static_cast<unsigned int>(channels.size());
259}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
std::vector< unsigned int > get_all_channels(ProcessingToken token) const
Gets all channel indices for a given processing token.

References get_all_channels(), and token.

+ Here is the call graph for this function: