|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
One contiguous span of vertices sharing a primitive topology. More...
#include <GraphicsUtils.hpp>
Public Attributes | |
| PolygonMode | fill { PolygonMode::FILL } |
| Fill mode the mill emulates for a triangle span. | |
| 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 419 of file GraphicsUtils.hpp.