Hi all,
do you know a way to retrieve the amount of RAM on board the Video Card?
Through Windows I can tell my card comes with 64 MB (old card).
But how can my program retrieve this number?
Regards :)
Video RAM
Started by Nautilus, Feb 21 2005 01:49 PM
3 replies to this topic
#1
Posted 21 February 2005 - 01:49 PM
-Nautilus
(readin' this? you ought to get out more)
#2
Posted 21 February 2005 - 02:43 PM
under opengl you can probably parse the information from the glGetString function, allthough i'm not entirely sure if that directly tells you something about the video mem but it will allow you to find out about the memory size because a certain model usually only comes in two configurations. i'm sure there is a way to query card specs in directx.
If Prolog is the answer, what is the question ?
#3
Posted 21 February 2005 - 02:47 PM
this is what msdn had to say about it :
http://msdn.microsoft.com/library/default....eTextureMem.asp
http://msdn.microsoft.com/library/default....eTextureMem.asp
If Prolog is the answer, what is the question ?
#4
Posted 21 February 2005 - 03:02 PM
Thanks a lot Anubis :)
That msdn article is ok to retrieve the RAM left for allocation. Will help.
What about, instead, retrieving the total amount present on the card?
I need to know this amount to judge if the card is suited or not for my application and take actions based on it.
I guess I could just invoke the "GetAvailableTextureMem" at the very beginning.
But if there's another method -not bound to DirectX-, I'd like to use that.
Do you know if Windows stores that value somewhere in the registry?
I searched mine, but haven't found anything.
Now I'm trying with google. No luck so far though...
Best regards.
That msdn article is ok to retrieve the RAM left for allocation. Will help.
What about, instead, retrieving the total amount present on the card?
I need to know this amount to judge if the card is suited or not for my application and take actions based on it.
I guess I could just invoke the "GetAvailableTextureMem" at the very beginning.
But if there's another method -not bound to DirectX-, I'd like to use that.
Do you know if Windows stores that value somewhere in the registry?
I searched mine, but haven't found anything.
Now I'm trying with google. No luck so far though...
Best regards.
-Nautilus
(readin' this? you ought to get out more)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












