View Full Version : How to get the VRAM size.
11-02-2000, 10:56 AM
How can I have the memory size of the installed video card?
..and does it have any info how to manage video memory when using opengl?
11-02-2000, 11:43 AM
OpenGL does not have any particular way of telling you this. However, some OpenGL drivers have put such information in the GL_RENDERER or GL_VERSION string.
Keep loading textures and test if they are
resident, until you run out?
11-02-2000, 01:17 PM
In theory, you should not have to know the size of video memory, since there are so many issues involved in video memory management that apps getting involved will just cause trouble.
I doubt you actually just want to know the size of video memory. What are you really trying to do?
[If you _really_ need to know the size of video memory, and nothing more (so, for example, you could print out how much there is somewhere), you can query with DirectDraw. However, I caution you against using this number for anything.]
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.