Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does DirectX 11 support .NET?

Can I use DirectX 11 from C# app?

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

like image 591
Boppity Bop Avatar asked Nov 29 '11 04:11

Boppity Bop


People also ask

What is DirectX 11 support?

DirectX 11 is a collection of application programming interfaces (APIs) for handling tasks related to multimedia.

Can I install DirectX without Internet?

No, DirectX Does not need an internet connection, it has been said that it needs the internet during installation but that is it.

Do I need to install DirectX 11 if I have DirectX 12?

If you have DX12, you have DX11. The software portion is backwards compatible. The question is this: what is your hardware? You can have DX11 installed all day long, but if you're running a graphics card that doesn't support it, it won't matter.

How do I use DirectX 11 instead of 12?

Click "Graphics" on the right. Click the drop-down next to "Graphics Hardware Level" and choose either DirectX 9, 10 or 11 mode. (Click "Accept" and restart the game to have it apply the change.)

Can I use DirectX 11 on Windows 10?

DirectX 11.0 is supported in Windows 10, Windows 8, and Windows 7. Support for Windows Vista is available but only after installing the Platform Update for Windows Vista.


2 Answers

You may also want to consider the newer SharpDX. The biggest differences from SlimDX are that it doesn't support DX9 (though that's irrelevant here), and the API is directly generated from the DX SDK headers. You could even begin making Metro style apps in Windows 8 because it's ready to support Direct3D 11.1.

like image 129
Chris C Avatar answered Oct 16 '22 22:10

Chris C


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

From the above blog:

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:

....

•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.

•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.

....

like image 40
Mark Hall Avatar answered Oct 17 '22 00:10

Mark Hall