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

◆ add_channel_usage()

void MayaFlux::Nodes::NodeNetwork::add_channel_usage ( uint32_t  channel_id)

Register network usage on a specific channel.

Parameters
channel_idChannel index

Networks can be registered to multiple channels like regular nodes. Channel registration determines where network output is routed.

Definition at line 59 of file NodeNetwork.cpp.

60{
61 if (channel_id < 32) {
62 m_channel_mask |= (1U << channel_id);
63 }
64}
std::atomic< uint32_t > m_channel_mask
Bitfield of channels this network is registered on.

References m_channel_mask.