Jump to content
  • Advertisement
Sign in to follow this  
EnlightenedOne

What is the different between IDirect3DDevice9 and IDirect3DDevice9Ex?

This topic is 3216 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

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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).

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!