Sign in to follow this  
mengha

DirectX9 Enumeration

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this