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

◆ generate_path_vertices()

void MayaFlux::Nodes::GpuSync::PathGeneratorNode::generate_path_vertices ( )
private

Definition at line 419 of file PathGeneratorNode.cpp.

420{
421 m_vertices.clear();
422
423 const size_t num_points = m_control_points.size();
424 if (num_points < 2) {
425 return;
426 }
427
432 } else {
434 }
435
436 m_vertex_data_dirty = true;
437}
bool m_vertex_data_dirty
Flag: vertex data or layout changed since last GPU upload.
std::vector< LineVertex > m_control_points
Control points, newest first: index 0 is the most recently added.

References MayaFlux::Kinesis::CUSTOM, generate_custom_path(), generate_direct_path(), generate_interpolated_path(), MayaFlux::Kinesis::LINEAR, m_control_points, m_custom_func, m_mode, MayaFlux::Nodes::GpuSync::GeometryWriterNode::m_vertex_data_dirty, and m_vertices.

Referenced by regenerate_geometry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: