Jump to content
  • Advertisement
Sign in to follow this  
Koobazaur

Detecting VRAM of your card?

This topic is 3352 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!