I am trying to display a trajectory from lines that are story in an instancedBufferGeometry.
To be able to dynamically choose the length of the trajectory, I need to use something similar to setDrawRange.
Though I saw that only instanceCount works with instancedBufferGeometry and it costs too much processing to keep put the new line at the beginning of the buffer.
Is there a way to replicate setDrawRange with an instancedBufferGeometry?