Jump to content
  • Advertisement
Sign in to follow this  
mengha

DirectX9 Enumeration

This topic is 4764 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When I use to use DirectX7 from Visual Basic I used to be able to check for features using the enumeration (caps?). I know you can do this from DirectX9 But I haven't found a very good tutorial on it and can't find one in the articles section. Anyone have a good link? Thanks alot.

Share this post


Link to post
Share on other sites
Advertisement
Try MSDN, can't remember the function right now, but there is the same here, a single function call gives you what you need.

Share this post


Link to post
Share on other sites
The following functions will prove useful to you:

IDirect3D9::EnumAdapterModes
IDirect3D9::CheckDeviceType
IDirect3D9::GetDeviceCaps
IDirect3D9::CheckDeviceFormat


Greetz,

Illco

Share this post


Link to post
Share on other sites
You do not have to enumarate neccesary!

You can take the DEFAULT/PRIMARY directx adapter. Even if a system has two or more graphic cards, one is allways SYSTEM DEFAULT.

This kind of graphic enumeriation comes handy when someone want's to select a non-default graphic card or monitor (which is not very often).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!