In the documentation for PointPrimitiveCollection.add(), it states the following:
Calling add is expected constant time. However, the collection's vertex buffer is rewritten - an O(n) operation that also incurs CPU to GPU overhead. For best performance, add as many pointPrimitives as possible before calling update.
As far as I can tell, there is no update method to call. Update seems to be called automatically at some point.
I am trying to update the position of around 1000 points in a collection with around 10,000 points. While everything works well, I'm noticing brief animation stuttering when the update occurs and some investigation has led me to believe that update is being called even before I have completed updating the positions.
If the update method was deprecated at some point, I would love to know what the solution to this problem is!