Add/remove polygons in a mesh

Hi guys!

I have a mesh with 20 000 polygons and it must be changed about 15-20 times in second. But creating a new buffers every time I remove/add a few polygons is too slow (it takes about 20-30ms).

What is the best way to add/remove polygons in a mesh?

update the buffer instead of creating a new one


Also why does it change all the time? Ideally you’d only change the indices or actually do it all in a shader if its that intense.