MayaFlux 0.1.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 47 of file ComputeOutNode.cpp.

48{
49 if (index >= m_readback_data.size()) {
50 error<std::out_of_range>(
53 std::source_location::current(),
54 "Element index {} out of range (size: {})",
55 index, m_readback_data.size());
56 }
57 return m_readback_data[index];
58}
@ 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.