initialVertexCapacity

initialVertexCapacity: number | undefined

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: 14 November, 2024