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!
--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+unsubscribe@googlegroups.com.