What is the different between IDirect3DDevice9 and IDirect3DDevice9Ex?

Started by
1 comment, last by Codeka 14 years, 5 months ago
What is the different between IDirect3DDevice9 and IDirect3DDevice9Ex? I am aware that the Ex device doesn't require a reset whereas I am painfully aware that the normal device does need one. Can anyone explain the reason there are two and when too use the Ex one please?
Advertisement
The Ex device is for the special version of DX9 found on Vista, that doesn't require resets because of its driver model. Its what it uses internally to render your desktop with. Look at "Direct3D 9 for Windows Vista" in the sdk documentation and it'll tell you all of the differences.
The Ex version is not available on Windows XP, so if you're targetting Windows XP, you can't use the Ex version. If your target is Vista and above, then by all means go for the Ex version (if you want to target XP as well, then you may as well just use the non-Ex version for everything - if you have to write the code to handle reset, you may as well just use that version for everything).

This topic is closed to new replies.

Advertisement