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

◆ add_control_point()

void MayaFlux::Nodes::GpuSync::PathGeneratorNode::add_control_point ( const LineVertex &  vertex)

Add control point with full LineVertex data.

Parameters
vertexLineVertex containing position, color, thickness

Pushes vertex to front of ring buffer (index [0]). Oldest vertex discarded if buffer full.

Definition at line 62 of file PathGeneratorNode.cpp.

References INVALID_SEGMENT, m_control_points, m_dirty_segment_end, m_dirty_segment_start, m_geometry_dirty, m_max_control_points, and m_path_dirty.