initialIndexCapacity
initialIndexCapacity: number | undefined
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: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.