DirectX9 Enumeration

Started by
2 comments, last by Samurai Jack 18 years, 9 months ago
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.
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.


The following functions will prove useful to you:
IDirect3D9::EnumAdapterModesIDirect3D9::CheckDeviceTypeIDirect3D9::GetDeviceCapsIDirect3D9::CheckDeviceFormat


Greetz,

Illco
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).

This topic is closed to new replies.

Advertisement