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

◆ get_node_output()

std::optional< double > MayaFlux::Nodes::Network::MeshNetwork::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 148 of file MeshNetwork.cpp.

149{
150 if (index >= m_slots.size())
151 return std::nullopt;
152 return static_cast<double>(index);
153}
uint32_t index
Definition VKDevice.cpp:122

References index, and m_slots.