Jump to content
  • Advertisement
Sign in to follow this  
bboyBladeJ

[MDX] Determine video memory size

This topic is 4524 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 guys, I need to determine the size of the video memory from a Managed DirectX application. I know that there is an AvailableTextureMemory property of the Device class, but this does not help, because it includes the AGP/PCIe memory. What I need is the size of the physical video memory on the card. Any ideas how to do this? Thanx for help bboyBladeJ

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by bboyBladeJ
I need to determine the size of the video memory from a Managed DirectX application. I know that there is an AvailableTextureMemory property of the Device class, but this does not help, because it includes the AGP/PCIe memory. What I need is the size of the physical video memory on the card. Any ideas how to do this?

In short, there is no standard way to do this. If you are doing this for caps reasons, you can simply enumerate the device name and lookup the video memory size from that (you need to store this yourself though). However, generally, you don't need this information, as D3D will handle paging of resources in and out of video memory.

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!