简体   繁体   English

微软是否重新管理Managed DirectX?

[英]Is Microsoft ressurecting Managed DirectX?

Today I saw that Microsoft announced 0.85 version of: 今天我看到微软公布了0.85版的:

"Windows® API Code Pack for Microsoft® .NET Framework" “用于Microsoft®.NETFramework的Windows®API代码包”

This pack is targeted for Windows7 OS, although most features is supposed to work under Vista. 这个包是针对Windows7操作系统的,虽然大多数功能应该在Vista下运行。 One of this pack's features is support for DirectX 11. 这个包的功能之一是支持DirectX 11。

Knowing that few years ago Microsoft stopped development of Managed DirectX, and in mean time developed XNA Game Studio, it's hard to see purpose of this. 知道几年前微软停止了Managed DirectX的开发,并且同时开发了XNA Game Studio,很难看出这个目的。 Simplified deployment? 简化部署? Maybe W7 desktop applications are meant to relies heavily on DirectX? 也许W7桌面应用程序在很大程度上依赖于DirectX? Or? 要么?

Anyone have a good comment related to this resurrected managed DX? 任何人都对这个复活的托管DX有好评吗?

At the moment, Microsoft does NOT in fact have any plans to bring back MDX. 目前,微软并没有任何计划将MDX带回来。 However, they have XNA, which you and some others have mentioned. 但是,他们有XNA,你和其他人都提到过。 MDX was just a thin wrapper around the DirectX functionality. MDX只是围绕DirectX功能的一个薄包装器。 That is, you had some device functions, you had some IO functions, and those got wrapped into managed classes, nothing more. 也就是说,你有一些设备功能,你有一些IO功能,那些被包装到托管类中,仅此而已。 XNA is much more than that, having its own content pipeline, a much higher-level support for shaders, 3D models, textures, device management, etc. It is also cross-platform in that it runs on the PC, Xbox360, as well as the Zune. XNA远不止于此,拥有自己的内容管道,对着色器,3D模型,纹理,设备管理等提供更高级别的支持。它也是跨平台的,因为它可以在PC,Xbox360上运行作为Zune。 So, on short, no plans are for resurrecting MDX, but there are alternatives, such as the mentioned XNA. 因此,简而言之,没有计划用于复活MDX,但也有其他选择,例如上面提到的XNA。 There is also another, non-Microsoft, project, SlimDX. 还有另一个非Microsoft项目SlimDX。 It is a managed wrapper around DirectX, much like MDX was, except it seems much more pleasurable to use, at first glance. 它是一个围绕DirectX的托管包装器,就像MDX一样,除了它看起来更令人愉快,乍一看。 I have not used it much myself, but from reading what others have to say, it seems to be doing a good job. 我自己并没有太多地使用它,但是从阅读其他人的话来看,它似乎做得很好。 Hope this answers your question. 希望这能回答你的问题。

I'd like to mention that SlimDX's next release will have full DirectX11 support, along with other Win7 APIs. 我想提一下,SlimDX的下一个版本将支持完整的DirectX11以及其他Win7 API。 it's wider than what the code pack has to offer. 它比代码包提供的更广泛。 http://ventspace.wordpress.com/2009/06/09/c-and-directx-11-yes-you-can/ http://ventspace.wordpress.com/2009/06/09/c-and-directx-11-yes-you-can/

The way I read it, they're simply providing thin wrappers allowing easy access to the D3D API from .NET. 我读它的方式,他们只是提供瘦包装,允许从.NET轻松访问D3D API。

Managed DirectX was a much bigger effort, basically a separately designed API. 托管DirectX是一项更大的工作,基本上是一个单独设计的API。 I doubt that's the way they intend to go with this. 我怀疑他们打算采用这种方式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM