i want to check whether a concrete DirectX Version (e.g DirectX 9) or a concrete OpenGL Version is suppported on the current windows system (to runtime of course).
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
OpenGL and DirectX is present all Windows Systems. But the capability to execute particular extentions or using capabilities are depends on hardware. It’s possible to you query the particular feature and use the features. It differs from one machine to other.
You can get the device parameters in Direct using GetDeviceCaps function and other related Direct3D APIs. Please see the sample. http://www.codesampler.com/dx9src/dx9src_1.htm#dx9_initialization
You can know the device capabilities with glGetString.
http://www.codesampler.com/oglsrc/oglsrc_1.htm#ogl_initialization