initialIndexCapacity

initialIndexCapacity: undefined | number

If defined, memory for this number of indices will be allocated up-front. Set this if you know the minimum number of triangles in the mesh, to avoid unnecessary reallocations when adding triangles. The number of indices is equal to three times the number of triangles.

Defined in

Last Updated: 16 April, 2024