Ok. Then I should use a "texture manager".
Thank you.
Ok. Then I should use a "texture manager".
Thank you.
No signature provided yet.
This is obvious, but maybe you can use tlist as it is a general purpouse list manager with add, insert and delete metods for any kind of objects.
I was concerned about load/unload textures to the OpenGL library, but your suggestion of using TList makes me think about load and unload the bitmaps from disk. Thank you, fitflend.
No signature provided yet.
Obviously you always want to load the textures straight from disk. But another thing you need to pay attention to is how many textures you use. Each call of glBindTexture() is a slow operation. So for example a tile map, being split each in its own texture would be a huge performance loss.
Bookmarks