Video Card Memory Size

How can I know the video card memory size in my program under Windows environment? Any suggestion?

Start Menu > Run > dxdiag, go to display tab and it should be there

Originally posted by BD:
How can I know the video card memory size in my program under Windows environment? Any suggestion?
As opposed to a Macintosh environment? Windows self-allocates memory. I guess the developers felt that you didn’t need to see how much was going to what since you really can’t change the numbers. On the other hand, you either have enough or you don’t. There is no need to adjust memory program by program like on a Mac.

I think he has written a program and wants to figure out the amount of the video memory the system has where his program is running on.

I could be wrong though because the sentence is not very clear and needs a lot of interpretation.

To answer the question, OpenGL does not know that and doesnt care either. The best way to figure out the amount of video memory would be using DirectX but since this in NOT a DirectX forum you need to ask that somewhere else.