是否支持DirectX 11 .NET? [英] Does DirectX 11 support .NET?

查看:277
本文介绍了是否支持DirectX 11 .NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用DirectX 11的从C#应用程序?

Can I use DirectX 11 from C# app?

需要使用的DirectSound从WPF应用程序。 .NET 4 W7 64

Need to use DirectSound from WPF application. .NET 4 W7 x64

推荐答案

从查Walbourn的博客标题是:的Games用于Windows和DirectX SDK中
他似乎建议了SlimDx库,可以根据自己的文档它支持DirectSound的

From Chuck Walbourn's Blog Titled: Games for Windows and the DirectX SDK. He seems to be recommending the SlimDx Library, according to their documentation it does support DirectSound

从上面的博客:

在DirectX SDK中的现代版是专为C / C ++本地
开发商。如果您正在寻找.NET解决方案使用DirectX
技术,有许多可供选择虽然
液的选择取决于您的特定需求:

The modern version of the DirectX SDK is designed for C/C++ native developers. If you are looking for .NET solutions for using DirectX technology, there are many options available although the choice of solution depends on your specific needs:

...

•对于使用Windows Presentation Foundation中,但希望
使用新的DirectX 11 API的开发者,在Windows API代码包提供
托管程序支持Direct3D 10.1,Direct3D的11,Direct2D中,
的DirectWrite,DXGI,并与
许多其他Windows 7功能以及Windows映像库(WIC)。最新版本支持.NET 4.0,
或x64原生值为anycpu的应用。请注意,你还需要安装
的DirectX SDK中得到HLSL编译器(FXC.EXE)工具。

•For a developer using the Windows Presentation Foundation but wants to use the new DirectX 11 APIs, the Windows API Code Pack provides managed assemblies for Direct3D 10.1, Direct3D 11, Direct2D, DirectWrite, DXGI, and the Windows Imaging Library (WIC) along with many other Windows 7 features. The latest version supports .NET 4.0, and x64 native "anycpu" applications. Note you still need to install the DirectX SDK to get the HLSL compiler (FXC.EXE) tool.

•对于谁是投资于托管DirectX 1.1,但期望
更新,以解决上述我注意到的局限性
开发商,开源$ href=\"http://slimdx.org/download.php\"> SlimDX 库旨在b $ b 的目的。它包括64位原生值为anycpu的应用,
包括现代支持DirectX的支持,并与.NET 4.0
运行兼容。

•For developers who are invested in Managed DirectX 1.1 but are looking for updates to address the limitations I note above, the open source SlimDX library is designed to mimic Managed DirectX 1.1 for just this purpose. It includes support for x64 native "anycpu" applications, includes modern DirectX support, and is compatible with the .NET 4.0 runtime.

...

这篇关于是否支持DirectX 11 .NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆