Texture loading limit

Started by
0 comments, last by Xiachunyi 21 years ago
Hello, this may have been conversed elsewhere, I''m sorry if it has, just point me to the other topic. Anyway, what is the maximum amount of textures you can have in your OpenGL application? If it depends on memory, do you mean video RAM, system RAM, or virtual memory? Thanks a lot.
Advertisement
I think it is pretty much your virtual memory. OGL handles swapping the texture in and out of texture memory. If it has to swap it from disk, then expect plenty of churning while rendering. You should try to minimise your texture swapping by using glAreTexturesResident and adjust your resolution until you get about 100% hit rate. Note: textures can be "non-resident" even though you can "bind" them - they are sitting in your sysrem memory (ram,swap space) somewhere.

This topic is closed to new replies.

Advertisement