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

◆ get_element()

double MayaFlux::Nodes::GpuSync::ComputeOutNode::get_element ( size_t  index) const

Get specific element from readback data.

Parameters
indexElement index
Returns
Element value

Definition at line 49 of file ComputeOutNode.cpp.

50{
51 if (index >= m_readback_data.size()) {
52 error<std::out_of_range>(
55 std::source_location::current(),
56 "Element index {} out of range (size: {})",
57 index, m_readback_data.size());
58 }
59 return m_readback_data[index];
60}
@ NodeProcessing
Node graph processing (Nodes::NodeGraphManager)
@ Nodes
DSP Generator and Filter Nodes, graph pipeline, node management.

References m_readback_data, MayaFlux::Journal::NodeProcessing, and MayaFlux::Journal::Nodes.