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

◆ get_control_point()

LineVertex MayaFlux::Nodes::GpuSync::PathGeneratorNode::get_control_point ( size_t  index) const

Get control point.

Parameters
indexControl point index (0 = newest)
Returns
Control point position

Definition at line 310 of file PathGeneratorNode.cpp.

311{
312 if (index >= m_control_points.size()) {
314 "Control point index {} out of range (count: {})",
315 index, m_control_points.size());
316 return {};
317 }
318
319 return m_control_points[index];
320}
#define MF_ERROR(comp, ctx,...)
uint32_t index
Definition VKDevice.cpp:142
std::vector< LineVertex > m_control_points
Control points, newest first: index 0 is the most recently added.
@ NodeProcessing
Node graph processing (Nodes::NodeGraphManager)
@ Nodes
DSP Generator and Filter Nodes, graph pipeline, node management.

References index, m_control_points, MF_ERROR, MayaFlux::Journal::NodeProcessing, and MayaFlux::Journal::Nodes.