Jump to content
  • Advertisement
Sign in to follow this  
Shashwat Rohilla

Managed DirectX and XNA

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

I downloaded a DirectX SDK to learn it in C++.
But I saw that there was something called managed DirectX which can be written in C# using Microsoft.Direct.* namespaces.

So what is the difference between manager DirectX and XNA?

Share this post


Link to post
Share on other sites
Advertisement
MDX is deprecated, if you want to use D3D directly in C# you should use SDX. XNA is a higher level abstraction layer built on top of D3D.
(wikipedia is your friend)

Share this post


Link to post
Share on other sites
XNA removed the need to do most of the DirectX specific code. You no longer have to initalize devices and parameters and what not. It handles all messy code involved with loading images, input, sound, etc. If you're just starting out, I can't think of a good reason to use SlimDX over XNA. Likewise, using XNA will be much less complicated vs. straight DirectX. You will spend a lot of time just getting up a blank screen in C++. With XNA you can have stuff moving on the screen in a few minutes.

Share this post


Link to post
Share on other sites

XNA removed the need to do most of the DirectX specific code. You no longer have to initalize devices and parameters and what not. It handles all messy code involved with loading images, input, sound, etc. If you're just starting out, I can't think of a good reason to use SlimDX over XNA. Likewise, using XNA will be much less complicated vs. straight DirectX. You will spend a lot of time just getting up a blank screen in C++. With XNA you can have stuff moving on the screen in a few minutes.


You are right that I was unable to get even a blank screen in C++.

I know the basics of XNA. I have created a game in that.
If MDX is deprecated, then shall I start with SlimDX?
Can anyone give me the link to download it?

What is Direct3D? Is it DirectX or something different?

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!