Does XNA effectively replace Managed Directx? [duplicate]

帅比萌擦擦* 提交于 2019-11-29 06:37:34

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.

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.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!