MayaFlux 1.0.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 306 of file PathGeneratorNode.cpp.

307{
308 if (index >= m_control_points.size()) {
310 "Control point index {} out of range (count: {})",
311 index, m_control_points.size());
312 return {};
313 }
314
315 return m_control_points[index];
316}
#define MF_ERROR(comp, ctx,...)
uint32_t index
Definition VKDevice.cpp:122
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.