Does XNA effectively replace Managed Directx? [duplicate]
Asked Answered
F

2

9

Possible Duplicate:
Comparison between XNA and DirectX (C#)

The subject speaks for itself.

Does XNA effectively replace Managed DirectX?

We have a few projects using managed DirectX in VB.NET. I was considering porting one over to XNA, but wonder whether it's worth the effort.

Fernandofernas answered 1/10, 2009 at 7:24 Comment(0)
M
11

Does XNA effectively replace Managed DirectX? According to the wikipedia entry for MDX it does. At least for game development purposes.

XNA aims to be a framework for making games, so it is easy to get started. Managed DirectX is "just" a managed wrapper over the APIs, so you have more freedom but probably have to do more framework style code yourself.

Also, now there's the API Code Pack, which provides managed wrappers around the latest DirectX APIs. To me that sounds like an updated version of what Managed DirectX used to be.

This answer is dated as XNA is no longer officially supported. Anyone interested in using DirectX from managed code should check out Win2D in addition to the suggestions in the other answers to this question.

Macnair answered 1/10, 2009 at 7:33 Comment(1)
Thanks for the info, especially regarding the API Code Pack. I just wonder if they'll update the DirectX portion of the Code Pack as new versions of DirectX come out. Something tells me MS will leave it at the version of DirectX that ships with Win7 (at least until Win8).Fernandofernas
E
2

It's not exactly the same. One thing you should consider is that Managed DirectX will no longer be developed. So if you change to XNA, you support for DirectX 9, but not DirectX 10 (or 11 soon). So if you really want to replace Managed DirectX, you should have a look at SlimDX. It's not (yet) as large as MDX, but this will change and everything should be supported. The best thing is, it supports also DirectX 10. I used it myself and I guess it's work a look.

Earthwork answered 1/10, 2009 at 7:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.