MayaFlux 0.2.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 267 of file NodeGraphManager.cpp.

268{
269 auto channels = get_all_channels(token);
270 return static_cast<unsigned int>(channels.size());
271}
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: