Vortice.Windows Documentation

repository·main·Indexed 23 days ago

https://github.com/amerkoleci/vortice.windows

High-level C# bindings for Windows-specific APIs including DirectX (D3D9/11/12), Direct2D, XAudio2, and DirectML. Targeting .net9.0 and .net10.0, it provides managed wrappers for graphics (DXGI, DirectStorage, WIC, DirectWrite), audio (X3DAudio, DirectSound), and input (XInput, DirectInput) APIs.

Tokens
430
Snippets
0
Records
3
Agent score
29%

What's inside Vortice.Windows

  1. Overview of Vortice.Windows

    main

    Vortice.Windows is a collection of Win32 and UWP libraries providing C# bindings for various Windows graphics, audio, and input APIs. It is designed for modern .NET environments and targets .net9.0 and .net10.0.

    Supported APIs include:

    • Graphics: DXGI, Direct2D, Direct3D (9, 11, 12), DirectML, DirectStorage, WIC, DirectWrite, and UIAnimation.
    • Audio: XAudio2, X3DAudio, and DirectSound.
    • Input: XInput and DirectInput.
  2. Build Vortice.Windows from source

    main

    To compile the project, ensure you meet the following requirements:

    Prerequisites

    • Visual Studio 2022 with these components installed:
      • Visual C++ Toolset Component
      • Windows 11 SDK (10.0.26100.0)
      • .NET 10 SDK

    Critical Requirement

    • No spaces must be present in the solution path. If the path contains spaces, SharpGen will fail to generate bindings.

    If you require high-performance low-level bindings instead of these managed wrappers, visit Vortice.Win32.

  3. Explore Vortice.Windows samples and tutorials

    main

    You can find implementation examples and learning resources through the following channels: