Can I use DirectX 11 from C# app?
Need to use DirectSound from WPF application. .NET 4 W7 x64
DirectX 11 is a collection of application programming interfaces (APIs) for handling tasks related to multimedia.
No, DirectX Does not need an internet connection, it has been said that it needs the internet during installation but that is it.
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.
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.)
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.
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.
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.
....
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With