Jump to content
  • Advertisement

Archived

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

Xiachunyi

Texture loading limit

This topic is 5530 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
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.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!