Jojendersie / Monolith

A voxel based space simulation game
16 stars 1 forks source link

Texture/Resource Management #53

Open Wumpf opened 10 years ago

Wumpf commented 10 years ago

Currently we're loading some textures multiple times from the harddrive since we don't have a mechanism for reusing already loaded ones. Just create a breakpoint in the texture constructor and watch ;).

This apparently leads to unnecessary texture changes, wasting of ram & vram and longer loading times ..

Propably we can just add it to the Content::Resources Singleton, but I'am not sure if this class is sufficient in the long run. We should discuss this probably.

48 may be related.