|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Network::PathOperator::add_node | ( | std::shared_ptr< GpuSync::PathGeneratorNode > | node | ) |
Add an externally constructed PathGeneratorNode subtype to the operator.
Accepts any PathGeneratorNode subclass (e.g. LineSegmentNode) that was constructed and configured by the caller. The node is appended to m_paths and will participate in process(), get_vertex_data(), and extract_vertices() identically to nodes created by add_path().
compute_frame() is called once before insertion so the node's vertex buffer is populated on the first frame.
| node | Non-null shared_ptr to a PathGeneratorNode or subclass. |
Definition at line 95 of file PathOperator.cpp.
References m_access_token, m_paths, m_shutdown, MF_DEBUG, MF_ERROR, MayaFlux::Journal::NodeProcessing, and MayaFlux::Journal::Nodes.