Function CE::Rendering::Geometry::calculate_num_vertices

Function Documentation

inline int CE::Rendering::Geometry::calculate_num_vertices(const int final_quad)

Multiply a quad count by the standalone six-vertex layout.

See also

Detailed guide

Parameters:

final_quad – Caller-validated count whose product fits int; no overflow/sign validation occurs.

Returns:

final_quad * vertices_per_quad, not a byte count.