Vortice.Windows

.NET bindings for Direct3D12, Direct3D11, WIC, Direct2D1, XInput, XAudio, X3DAudio, DXC, Direct3D9 and DirectInput.

613
55
C#

Vortice.Windows

License: MIT
Build status
NuGet

Vortice.Windows is a collection of Win32 and UWP libraries with bindings support for DXGI, WIC, DirectWrite, Direct2D, Direct3D9, Direct3D11, Direct3D12, XInput, XAudio2, X3DAudio, DirectInput, DirectStorage, DirectML, UIAnimation and DirectSound.

This library targets .net7.0 and .net8.0 and uses modern C# 12, see CHANGELOG for list of changes between commits.

If you are looking for high-performance low level bindings, please visit Vortice.Win32

Sponsors

Please consider becoming a SPONSOR to further help development and to allow faster issue triaging and new features to be implemented.
NOTE: any feature request would require a sponsor in order to allow faster implementation and allow this project to continue.

There is a collection of samples available Vortice.Windows.Samples

Credits

Library development, contributions and bugfixes by:

  • Amer Koleci
  • Aaron Sun (DirectML)

SharpDX bindings were used for some platforms to understand how mapping works using SharpGenTools.

Build

In order to compile, make sure no spaces are present in the solution path otherwise SharpGen will fail to generate bindings.
Also, you need to install Visual Studio 2022 with the following components:

  • [x] Visual C++ Toolset Component
  • [x] Windows 11 SDK (10.0.22621.0)
  • [x] .NET 8 SDK

Projects using Vortice.Windows

Samples