three a memory block managed on the GPU memory when rendering the model, the memory release after clearing the vertex buffer has a delay, how to use the gl.deleteBuffer (data.buffer) to quickly release memory, can provide a solution, this involves the underlying webgl related knowledge, Hope to get more help thank you.
The is not direct access to the deleteBuffer()
WebGL command via three.js
. You have to use the dispose()
methods on your geometry object so WebGL buffers are deleted.
Since the pad configuration for development is low, there is always a delay in releasing memory, except for dispose, adding new methods to speed up the release of memory buffers, thank you