🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Detect/Retrieve Video Card Information via C#
Hello,
I was wondering if there was any way I could write a C# program that would test for the following features on a video card:
3d acceleration
amount of memory
video hw transform and lighting
video hw rasterization
pixel shader version
vertex shader version
I think DirectX can do it but I need a way that would not require DirectX.
I've taken a look through the forum archives and came accross these threads:
http://www.gamedev.net/community/forums/topic.asp?topic_id=332735
http://www.gamedev.net/community/forums/topic.asp?topic_id=152450
It seems like the only ways I can find out these things about the video card is to use DirectX or do benchmarking. Is this correct?
I've also taken a look at WMI but that doesn't seem to return the things that I'm looking for.
Thanks in advance,
Mark
Another thing, I've tried finding out whether or not the card supports 3d acceleration with the WMI through the CIM_VideoController AcceleratorCapabilities properties but it's returning a null value.
Anyone have an idea on what the problem might be?
Thanks again,
Mark
Anyone have an idea on what the problem might be?
Thanks again,
Mark
As you have posted this in NeHe, I assume you are wanting to do this through OpenGL means.
You could use Tao.gl's equivalent to glGetString to query things like the GL_VENDOR, GL_RENDERER, GL_VERSION and GL_EXTENSIONS.
There are probably loads of other pieces of info about the graphics hardware you can query with the various glGet methods but my OpenGL is very rusty [smile]
Regards,
ViLiO
You could use Tao.gl's equivalent to glGetString to query things like the GL_VENDOR, GL_RENDERER, GL_VERSION and GL_EXTENSIONS.
There are probably loads of other pieces of info about the graphics hardware you can query with the various glGet methods but my OpenGL is very rusty [smile]
Regards,
ViLiO
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement