托管 DirectX
我想这是一个相当深入的话题,所以任何带有洞察信息的网址也很容易被接受。 我一直在使用原生 DirectX,但从未管理过。另一方面,大多数情况下,在开发不需要高级 GPU 渲染的其他类型的应用程序时,我通常坚持使用托管代码,例如 C#。我开始越来越喜欢 C#,一直在考虑尝试一些托管的 directx。
所以我的问题是使用托管 directx 是否有任何显着的缺点和优点。当然,我最感兴趣的是潜在的缺点。
如果我不回答我可能就得走了。那我明天一定第一时间回答! 我期待听到您的回复。
乔纳斯
This is a pretty deep topic I guess, so any url's with insight info is also gladly accepted.
I've been working a lot with native directx, never managed. On the other hand, mostly when developing other type of applications that don't have any need for advanced gpu rendering I usually stick to managed code such as C#. Starting to favor C# more and more, I've been thinking about trying out some managed directx.
So my question is if there are any remarkable cons and pros of using managed directx. Of course I'm mostly interested in potential drawbacks.
If I don't answer I probably had to go. Then I'll make sure to answer first thing tomorrow!
I look forward to hear your replies.
Jonas
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Microsoft 已弃用 Managed DirectX。您仍然可以使用它,但它可能不再是您的最佳选择。替代方案包括 XNA、SlimDX 以及 Windows API 代码包。
Managed DirectX has been deprecated by Microsoft. You can still use it but it's probably not your best choice any more. Alternatives include XNA, SlimDX and the new managed wrappers in the Windows API Code Pack.
现已弃用的“托管 DirectX”的另一个替代方案是 SharpDx。它已针对 XNA、SlimDX 和 Windows API 代码包进行了基准测试,具有良好的 结果。
Another alternative to the now deprecated "Managed DirectX" is SharpDx. This has been benchmarked against XNA, SlimDX and the windows API code pack with favourable results.