Jump to content
  • Advertisement
Sign in to follow this  
Shashwat

Why DirectX

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

Advertisement
XNA address a specific, higher-level need and is only available from C#. DirectX addresses a broader, low-level need and is a COM API and thus accessible from more languages (C and C++ for example).

XNA and DirectX are different tools for different problems. In programming, you evaluate the available tools and choose the ones that best address the problems you want to solve.

Share this post


Link to post
Share on other sites
If XNA offers anything you need there is no need to learn DirectX.

DirectX is still in use because it is an unmanaged API and most commercial games are still written in C++. Another reason is that DirectX gives more control. Finally XNA is based on the DirectX 9 feature level while DirectX itself is already at version 11.

Share this post


Link to post
Share on other sites
As demirug noted, you can't access all the new shadier stages in d3d11. Life is better with compute shadier<grin>!

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!