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

◆ build_vertex_buffer()

void MayaFlux::Nodes::GpuSync::TopologyGeneratorNode::build_vertex_buffer ( )
private

Definition at line 251 of file TopologyGeneratorNode.cpp.

252{
253 m_vertices.clear();
254
255 auto points = get_points();
256 size_t num_points = points.size();
257
259 && num_points >= 2
261 build_interpolated_path(points, num_points);
262 } else {
263 build_direct_connections(points, num_points);
264 }
265
266 m_vertex_data_dirty = true;
267}
bool m_vertex_data_dirty
Flag: vertex data or layout changed since last GPU upload.
void build_direct_connections(std::span< LineVertex > points, size_t num_points)
void build_interpolated_path(std::span< LineVertex > points, size_t num_points)
std::vector< LineVertex > get_points() const
Get all points.

References build_direct_connections(), build_interpolated_path(), get_points(), MayaFlux::Kinesis::LINEAR, m_mode, m_path_interpolation_mode, MayaFlux::Nodes::GpuSync::GeometryWriterNode::m_vertex_data_dirty, m_vertices, and MayaFlux::Kinesis::SEQUENTIAL.

Referenced by compute_frame().

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