Is there any way to delete a buffer in threejs to reduce GPU memory leak?
<p>I have a very big mesh with more than 5 million triangles. I have used <code>BufferGeometry</code> with <code>position</code>, <code>color</code>, <code>normal</code>and <code>index</code> attribute. At some point, i have to remove some <code>indices</code> from the <code>index</code> attribute.</p>

<p>Now, i have seen that, there is no way to remove elements from the current <code>index</code> buffer. I have to create a new <code>BufferAttribute</code> and set it as <code>index</code> buffer of the geometry. But i haven't found a way to delete the previous<code>index</code> buffer which has been uploaded to GPU already. This is creating a GPU memory leak for me. I don't want to dispose the previous geometry and create a new one.</p>

<p>My question is - is there any way to delete the previous <code>index</code> buffer without disposing the <code>BufferGeometry</code>.</p>