|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
virtual |
Contiguous vertex spans grouped by primitive topology.
Adjacent collections of equal topology are coalesced into one run only when that topology is concatenable, meaning each primitive is assembled from its own group of consecutive vertices. Strip and fan collections are always reported separately, since concatenating two of them fabricates a primitive spanning the join: a PathOperator holding five LINE_STRIP paths back to back yields five runs, not one. A consumer draws each run as one draw call at that run's topology, or expands each run independently; sizing and ordering follow get_vertex_data() exactly, the same contract build_cluster_ids() and dirty_vertex_ranges() already keep.
Reimplemented in MayaFlux::Nodes::Network::AssemblyOperator, MayaFlux::Nodes::Network::PathOperator, MayaFlux::Nodes::Network::PhysicsOperator, and MayaFlux::Nodes::Network::TopologyOperator.
Definition at line 8 of file GraphicsOperator.cpp.
References declared_topology(), get_vertex_count(), MayaFlux::Portal::Graphics::POINT_LIST, and MayaFlux::Portal::Graphics::DrawRun::topology.
Here is the call graph for this function: