Sign in to follow this  

[MDX] Determine video memory size

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this