Archived

This topic is now archived and is closed to further replies.

Xiachunyi

Texture loading limit

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites