Jump to content
  • Advertisement
Sign in to follow this  
Koobazaur

Detecting VRAM of your card?

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

Is there any way to detect the VRAM of my video card in-code? All the googling and searching leads me to a "no" thus far, but I figured it wouldn't hurt to ask just in case. I noticed that when I go to the DirectX SDK's Caps Viewer and look under the DirectDraw Devices / Primary Display Driver / Memory / Video (Local), it reports exactly 268435456 Bytes (256MB), which is the same as my card. I am not sure how accurate that is, though (and it would require me to init DirectDraw just to check it, ugh!) Any thoughts?

Share this post


Link to post
Share on other sites
Advertisement
Yes there are several ways to find out. In the DirectX SDK there's a sample that demonstrates the different techniques. It's located in the Samples\C++\Misc\VideoMemory path from the SDK directory.

Share this post


Link to post
Share on other sites
Ahahaha, damn, didnt think of looking into the samples. Would have helped if the whole internet wasn't screaming it's impossible, heh. Thanks a bunch!

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!