KilnGraphics / Blaze4D

Minecraft but with Vulkan.
GNU Lesser General Public License v3.0
270 stars 12 forks source link

Materials cache doesn't have a limit #45

Closed burgerindividual closed 2 years ago

burgerindividual commented 3 years ago

We should probably have a cap and keep the most used materials in the cache, or just completely rewrite it. This will make sure that we aren't using up a ton of memory.