Advertisement

detecting video ram

Started by August 12, 1999 03:36 AM
1 comment, last by wizzard 25 years, 5 months ago
Are you using your own routines or an API like Directx(direct3d).

If you are using Direct3D you can query the device caps and find out how much RAM a vid card has. Actually...you grab the device caps anyway to find out what render modes are available for the client.

Latez,
DL

How do you detect the amount of video ram in the program?? I ask this because I want my program to "know" if it needs to use video or system memory. Thanks in advance.
Advertisement
Also you can query amount of video ram from info structure returned by VBE (VESA Bios Extensions). you can find it's specification at http://www.vesa.org


FlyFire/CodeX
http://codexorg.webjump.com

This topic is closed to new replies.

Advertisement