QcIndexPacking Namespace
Index buffers of section meshes: two bytes per index whenever every vertex can be addressed with 16 bits, otherwise four (QcPackedMesh writes them). More...
| Header: | #include <clientcore/meshing/QcIndexPacking.h> |
Variables
| const qsizetype | maxShortIndexVertices |
Functions
| bool | fitsShortIndices(qsizetype vertexCount) |
Detailed Description
Variable Documentation
const qsizetype QcIndexPacking::maxShortIndexVertices
Largest vertex count whose indices (0 .. count - 1) fit into 16 bits.
Function Documentation
[constexpr] bool QcIndexPacking::fitsShortIndices(qsizetype vertexCount)
Returns whether the indices of vertexCount vertices fit into 16 bits.