initialVertexCapacity

initialVertexCapacity: undefined | number

If defined, memory for this number of vertices will be allocated up-front. Set this if you know the minimum number of vertices in the mesh, to avoid unnecessary reallocations when adding vertices.

Defined in

Last Updated: 20 June, 2023