|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
One contiguous span of vertices sharing a primitive topology. More...
#include <GraphicsUtils.hpp>
Collaboration diagram for MayaFlux::Portal::Graphics::DrawRun:Public Attributes | |
| PrimitiveTopology | topology {} |
| uint32_t | vertex_count {} |
| uint32_t | vertex_offset {} |
One contiguous span of vertices sharing a primitive topology.
The topology declares how this span's vertices are ordered, not which pipeline draws it. A consumer configured to triangulate reduces every span to triangles and draws them all with one call, turning points into quads and line segments into ribbons, so a set of spans of differing topology still resolves to a single draw.
Carries no knowledge of what produced it: an operator's collections, an arena's per-element sub-ranges, or anything else. Producers build these; the consumer shapes and draws them.
Definition at line 401 of file GraphicsUtils.hpp.