I writing my resource mangaer, and I consider about how it can work for graphics objects (like textures, meshes).
I think about this :
I want to load texture (in pseudocode):
Texture t = resMgr.GetTex("image.png");
GetTex make something like this:
- load texture from disk to main memory
- create texture object (load it to gpu memory)
- unload texture from main memory
I consider about 3 step, does game engines that you know unload meshes/textures after load them into gpu memory ?