What is SlimDX?

SlimDX is a free open source framework that enables developers to easily build DirectX applications using .NET technologies such as C#, VB.NET, and IronPython. It is designed to be an efficient, simple, and lean wrapper that fully encompasses all of Microsoft's gaming and multimedia technologies and exposes them to managed code. All of the code is under the MIT/X11 license, and all content is under the Creative Commons Attribution-Share Alike license. Our latest release is June 2010, and can be found for users and developers on the Download page.

Originally, the managed game development niche was filled by Microsoft's Managed DirectX, which is now deprecated and no longer recommended for new development. In its wake, SlimDX has stepped up to provide support in a way that is very similar to the original MDX libraries. While similar, however, they are not intended to be the same APIs. SlimDX exposes a broader range of technologies, has a core design that improves upon that provided by MDX, and is more in-tune with managed methodologies since the advent of .NET 2.0. SlimDX is already widely used and can be found in several major multimedia and gaming applications.

All development is based in our Google Code homepage. You can use that site to report bugs (using our issues page), as well as download a complete copy of the source code. If you have questions to ask, or otherwise wish to discuss SlimDX, we ask that you use the DirectX forum on GameDev.Net. This is the only forum on which the developers are active; we do not use any other forums or mailing lists. Please prefix your thread subject with [SlimDX] if the question is reasonably specific to SlimDX. If it isn't, feel free to include or exclude the prefix as you like. You can also try and get a hold of us on IRC, in the #graphicsdev channel on AfterNET.

Consulting Highlight

SlimDX Consulting is now up and running to serve your custom software needs. Our expertise in DirectX, SlimDX, and managed/unmanaged interop of all kinds means getting things done in a fraction of the time and cost. That leaves you to focus on your application, instead of fighting with unfamiliar libraries.
Our current Featured Customer is Starcounter AB:
See the Support page for more information about our services.



latest release

Why not use XNA Game Studio?

XNA Game Studio (XNA GS) is Microsoft's new initiative for game development in .NET, targeting Windows and the Xbox 360. It is mostly source compatible between both Windows and Xbox 360 platforms. Note that "XNA" is used as shorthand for the XNA Framework. Although XNA and SlimDX share several goals and expose some common components, the overall intent of the two libraries is very different. While XNA's main focus is to provide a comprehensive solution for producing managed games, SlimDX seeks to faithfully expose as much of the Windows multimedia architecture as possible for all kinds of applications. As a result, the actual features and interfaces in each are quite different.

Read More...

Getting Started

Getting started is easy! In order to work with SlimDX, you need to have a development environment that allows you to write and run code in a .NET language. We recommend Visual C# Express, but any similar tool should work just fine. It's also recommended that you download the latest DirectX SDK from the Microsoft DirectX Developer Center. This SDK contains a lot of Microsoft's documentation, as well as sample projects in C++ (which are easily translated to SlimDX code) showcasing many useful tricks and techniques. However, this is a very large package, typically over 450 MB, and not required to build SlimDX applications. If you prefer, you can simply use online documentation, tutorials, and samples.

Read More...

Current Status

SlimDX was first publically revealed in beta form on June 30, 2007. Since then, it has grown at a rapid pace and now covers just about every corner of multimedia provided by Microsoft. As of the June 2008 release, it is no longer in beta and is considered stable. Several commercial projects and companies are using SlimDX, including at least one shipped AAA game title for Windows. With support for many libraries, including DirectX 9, DirectX 10, DirectX 11, DirectSound, XAudio2, and XInput, SlimDX is the most complete multimedia library for .NET you will find anywhere.

Read More...