Function CE::Rendering::Geometry::calculate_num_frames

Function Documentation

inline int CE::Rendering::Geometry::calculate_num_frames(const int num_vertices)

Convert a vertex count using the standalone six-vertex quad layout.

See also

Detailed guide

Parameters:

num_vertices – Caller-validated nonnegative count.

Returns:

Integer quotient by vertices_per_quad; an incomplete trailing quad is truncated. This is not the strip-cell formula.