aresrpg / aresrpg-engine

Voxel rendering engine
1 stars 0 forks source link

feat: improve WebGPU patch generation #9

Closed piellardj closed 4 months ago

piellardj commented 4 months ago

This PR makes the asynchronous patch generation scalable.

Before, this PR, generating lots of patches could have led to huge memory usage over time that could not be freed. With this PR, the memory used remains stable no matter the number of patches generated.