Jump to content
  • Advertisement
Sign in to follow this  
TX-Ironman

Quick question about mipmaps and texture memory

This topic is 3906 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

Hi, All I always thought that D3D would load the entire mipmap sequence of a texture in VRAM, but I had two co-workers say that only the current mipmap level is in memory. That sounded a little odd to me, so I'd like a definitive answer. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
The exact memory management algorithm isn't really published, but your co-workers are mostly correct. I'd be more general and say multiple levels are in VRAM rather than all or just one. You'd need multiple if you wanted trilinear filtering for example.

Functions like ::SetLOD() give you a bit of control over how much is actually loaded into memory.

hth
Jack

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!