|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
constexprnoexcept |
Vertices a span of n at topology yields once reduced to a TRIANGLE_LIST, with points becoming quads and line segments ribbons.
Closed form, so a caller can size a destination or budget a dispatch without inspecting vertex data. Spans too short to assemble a primitive yield zero rather than underflowing, and list topologies floor to whole primitives, so an odd LINE_LIST count drops its dangling vertex instead of reading past the span.
Definition at line 417 of file GraphicsUtils.hpp.
References LINE_LIST, LINE_STRIP, POINT_LIST, TRIANGLE_FAN, TRIANGLE_LIST, and TRIANGLE_STRIP.
Referenced by MayaFlux::Portal::Graphics::PrimitiveMill::milled_vertex_count().
Here is the caller graph for this function: