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

◆ get_node_output()

std::optional< double > MayaFlux::Nodes::Network::InstanceNetwork::get_node_output ( size_t  index) const
overridevirtual

Get output of specific internal node (for ONE_TO_ONE mapping)

Parameters
indexIndex of node in network
Returns
Output value, or nullopt if not applicable

Reimplemented from MayaFlux::Nodes::Network::NodeNetwork.

Definition at line 92 of file InstanceNetwork.cpp.

93{
94 if (index >= m_slots.size())
95 return std::nullopt;
96 return static_cast<double>(index);
97}

References m_slots.