I just discovered the StreamDrawUsage
But then I was wondering why in all examples of threejs they use only : DynamicDrawUsage and never StreamDrawUsage even if the buffer attributes update is every frames ?
?
I just discovered the StreamDrawUsage
But then I was wondering why in all examples of threejs they use only : DynamicDrawUsage and never StreamDrawUsage even if the buffer attributes update is every frames ?
?
Maybe it was not needed? Dynamic usage balances frequent read and frequent writes, while stream usage focuses on many writes and few reads. Also, these are only hints, there is absolutely no guarantee that if you use the most adequate one the rendering will be faster. It is up to the driver to use or to ignore the hint.
If you have a really good example for StreamDrawUsage, you might propose it for inclusion in the examples.