image
The power of DirectX for .NET SharpDX is an open-source project delivering the full DirectX API under the .Net platform, allowing the development of high performance game, 2D and 3D graphics rendering as well as realtime sound application.

SharpDX is built with a custom tool called SharpGen able to generate automatically a .NET API directly from the DirectX SDK headers, thus allowing a tight mapping with the native API while taking advantages of the great strength of the .Net ecosystem.

SharpDX is fully supporting all Windows platforms including latest Windows 8 Metro and Windows Phone 8. Easily develop multimedia applications for desktop, WinRT and Windows Phone with the same API!

Welcome to the official Website of the SharpDX project.

SharpDX is a free and active open-source project that is delivering a full-featured Managed DirectX API that includes support for Direct3D9 & Ex, Direct3D10, Direct3D10.1, Direct3D11, Direct3D11.1 (Win8 only), DirectCompute, Direct2D1, Direct2D1.1 (Win8 only), DirectWrite, WIC, D3DCompiler, DXGI, DXGI 1.1, DXGI 1.2 (Win8 only), DirectSound 8, XAudio2, XAPO, XACT3, X3DAudio, DirectInput 8, XInput and RawInput.

SharpDX supports all Windows OS and .NET Framework, including development for the latest Windows 8 Metro and Windows Phone 8!

You can download binaries or build your own binaries directly from the sourcecode available from a git repository.

SharpDX is now coming with a documentation repository - under construction and a detailled Class Library Reference with a helpful cross referencing managed to unmanaged API.

A community section is opened for contributions, samples and tutorials, as well as a dedicated forum to discuss about SharpDX.

SharpDX is being used by several companies, indies developers to make games, advanced rendering or multimedia applications.

SharpDX on Twitter

Loading...

Last 4 tweets from sharpdx2:

Support SharpDX

If you love this project, help the author to keep improve it! Check the story behind SharpDX.

Download SharpDX

Stable version 2.4.2

Download Binaries PackageBinaries Package 2.4.2

Download Full PackageFull Package 2.4.2

Download Full PackageNuget Packages

Latest Dev PackageLatest Dev Package (2.5.0)

(Last Changes: May 22 2013 18:29:19)

Note: if you are using the Toolkit, use latest dev Package

Who is Online?

  • Burton Radons

Forum Latest

kdillonk's Avatar
By- kdillonk
Yesterday 20:27
Get Bitmap from Texture For Windows 7 App, using SharpDX 2.4.2 I need to extract a System.Drawing.Bitmap from what is currently rendered via Direct3d11/DXGI into a window on screen. I cannot just do a screen capture because I need the information on the alpha channel, which...
emzic's Avatar
By- emzic
Yesterday 08:31
[Toolkit] Loading fx files thanks! it's true there is no vertexshader. i thought that spriteeffect is taking care of the vertex part like it did in xna.
Grobi's Avatar
By- Grobi
23 May 2013 16:28
toolkit skybox Hi, i would like to know what would be the best way to implement a skybox with the toolkit 2.5 dev rel? Are there any tutorials or examples for that? I'd like to implement a starmap like skybox in a kind of space game which i built on top of the toolkit...
ChaosCom's Avatar
By- ChaosCom
23 May 2013 13:24
Compiling SharpDX, SharpDXSamples, and SharpDXToolkitSamples from Github Compiling SharpDX, SharpDXSamples, and SharpDXToolkitSamples from the Github Sources Hi everyone, I thought I'd share some of my experiences and workarounds for some of the problems I encountered when trying to compile SharpDX and some of the samples from...
CapellaMeng's Avatar
23 May 2013 08:46
[MF]Question about MediaFoundation on WP8 platform It's Solved https://github.com/sharpdx/SharpDX/issues/19
amaranth's Avatar
By- amaranth
23 May 2013 06:32
SharpDX VideoPlayer In my WinForms .NET 4.0 application I want to play video with sound on panel. Anyone can give a simple example to do this? Or at least classes names in al arge set of classes. Thank you!
Doris's Avatar
By- Doris
23 May 2013 06:31
Can't drawbitmap when use WicRenderTarget I am doing an application on Windows Store Apps, and want to draw some bitmaps and save to a png file. Code Removed and I got the error message: An unhandled exception of type 'System.AccessViolationException' occurred in...
phether's Avatar
By- phether
22 May 2013 22:23
64-bit Great! thanks for both your replies! now to only find time to start prototyping... :) cheers p
Powered By nZambi!

SharpDX needs your vote for DllImport on WP8!

As you know, SharpDX is targeting Windows Phone 8 platform since its early launch in October 2012. The port of SharpDX to WP8 was not easy mainly because it is currently not possible to "DllImport" a function natively from C# on WP8. This single restriction has lots of side effects:

  • SharpDX cannot provide a true "Portable Class Library" that would allow us to use the same SharpDX assemblies from .NET Desktop, .NET on WinRT and .NET on WP8, providing a much better experience when developing cross-platform DirectX application in .NET.
  • Because current SharpDX assemblies for WP8 are compiled for x86 and ARM there is no "AnyCpu" support for SharpDX on WP8 Platform. This also means that all dependent project on SharpDX on WP8 are forced to be compiled and linked for x86 and ARM, which makes the build and debug experience extremelly laborious to handle (for example, switch between x86 and ARM when switching between real device phone and emulator... etc.)

In order to help SharpDX - and all projects using it - even if you are not interested in Windows Phone 8 development, It would be extremely helpful if you could vote for this issue to be resolved at connect feedback: Add DllImport support for .NET in Windows Phone 8

Thanks for your support!
xoofx

SharpDX needs your vote for SIMD for .NET

Access to SIMD instructions is an important feature that is currently missing in .NET, and critical to develop fast and responsive games or multimedia applications. SharpDX is coming with its own set of primitive types (Vector2/3/4...etc.) but is not able to take advantages of special CPU instructions to vectorized  and speedup significantly calculations.

The lack of SIMD is forcing every projects to develop its own set of vector types (and calculations), making interop between them quite laborious and inefficient. The rise of mobile platforms is giving more reasons to have such a functionality backed in .NET.

If you love C#/.NET and all the cool stuffs around DirectX, please, please, vote for this to be resolved at connect feedback: Add Builtin SIMD support for .NET and talk about this issue around you!

Thanks for your support!

xoofx