Vortice.Direct2D1 3.8.1

dotnet add package Vortice.Direct2D1 --version 3.8.1
                    
NuGet\Install-Package Vortice.Direct2D1 -Version 3.8.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vortice.Direct2D1" Version="3.8.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vortice.Direct2D1" Version="3.8.1" />
                    
Directory.Packages.props
<PackageReference Include="Vortice.Direct2D1" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vortice.Direct2D1 --version 3.8.1
                    
#r "nuget: Vortice.Direct2D1, 3.8.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Vortice.Direct2D1@3.8.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vortice.Direct2D1&version=3.8.1
                    
Install as a Cake Addin
#tool nuget:?package=Vortice.Direct2D1&version=3.8.1
                    
Install as a Cake Tool

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 .net9.0 and .net10.0 and uses modern C#, 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:

  • Visual C++ Toolset Component
  • Windows 11 SDK (10.0.26100.0)
  • .NET 10 SDK

Projects using Vortice.Windows

Samples

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Vortice.Direct2D1:

Package Downloads
NetDimension.NanUI

Easily buid powerful WinForm applications with HTML, CSS and JavaScript.

Vortice.DirectComposition

DirectComposition bindings

FlysEngine

Real-time 2D rendering utilities based on SharpDX/Direct2D.

SeeingSharp2

SeeingSharp is a 3D/2D rendering library for C# powered by Direct3D. It is meant for desktop applications (Win.Forms, Wpf) or Windows Store Apps

ShiroCore

Package Description

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Vortice.Direct2D1:

Repository Stars
Live-Charts/LiveCharts2
Simple, flexible, interactive & powerful charts, maps and gauges for .Net, LiveCharts2 can now practically run everywhere Maui, Uno Platform, Blazor-wasm, WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.
XuanchenLin/NanUI
NanUI is an open source .NET project for developers who want to create Windows desktop applications with HTML, CSS and JavaScript.
lindexi/lindexi_gd
博客用到的代码
Version Downloads Last Updated
3.8.1 1,052 12/2/2025
3.8.0-beta 676 12/2/2025
3.7.6-beta 857 9/29/2025
3.7.5-beta 612 7/21/2025
3.7.4-beta 369 4/9/2025
3.7.3-beta 250 3/31/2025
3.7.2-beta 174 3/14/2025
3.7.1-beta 223 2/13/2025
3.7.0-beta 240 12/3/2024
3.6.2 10,285 10/9/2024
3.6.1-beta 183 9/30/2024
3.6.0-beta 163 9/23/2024
3.5.13-beta 196 9/5/2024
3.5.12-beta 177 9/2/2024
3.5.11-beta 159 7/30/2024
3.5.10-beta 186 7/8/2024
3.5.9-beta 180 7/1/2024
3.5.8-beta 280 6/27/2024
3.5.7-beta 201 6/25/2024
3.5.6-beta 181 6/25/2024
3.5.5-beta 219 6/20/2024
3.5.4-beta 203 6/14/2024
3.5.3-beta 209 6/10/2024
3.5.2-beta 229 5/29/2024
3.5.1-beta 177 5/27/2024
3.5.0 1,904 3/13/2024
3.4.4-beta 456 2/13/2024
3.4.3-beta 508 2/2/2024
3.4.2-beta 580 12/29/2023
3.4.1-beta 739 11/17/2023
3.4.0-beta 675 11/9/2023
3.3.4 1,411 10/13/2023
3.3.3-beta 862 10/9/2023
3.3.2-beta 702 10/6/2023
3.3.1-beta 155 9/18/2023
3.3.0-beta 151 9/18/2023
3.2.1-beta 264 6/23/2023
3.2.0 1,388 5/14/2023
3.1.1-beta 241 4/20/2023
3.1.0-beta 185 4/17/2023
3.0.5-beta 189 4/13/2023
3.0.4-beta 234 4/5/2023
3.0.3-beta 206 4/5/2023
3.0.2-beta 204 4/5/2023
3.0.1-beta 249 3/29/2023
3.0.0-beta 233 3/6/2023
2.4.2 24,384 3/3/2023
2.4.1-beta 284 2/9/2023
2.4.0-beta 272 1/25/2023
2.3.0 1,323 1/19/2023
2.2.0 1,705 12/22/2022
2.1.42-beta 239 11/8/2022
2.1.41 2,918 11/8/2022
2.1.40 245 11/8/2022
2.1.34-beta 286 9/28/2022
2.1.33-beta 230 9/26/2022
2.1.32 482 9/22/2022
2.1.31-beta 224 9/6/2022
2.1.30-beta 270 8/30/2022
2.1.29-beta 241 8/30/2022
2.1.28-beta 215 8/29/2022
2.1.27-beta 226 8/29/2022
2.1.26-beta 249 8/8/2022
2.1.25-beta 288 7/21/2022
2.1.24-beta 236 7/15/2022
2.1.23-beta 628 7/11/2022
2.1.22-beta 461 7/5/2022
2.1.21-beta 246 6/18/2022
2.1.20-beta 251 6/7/2022
2.1.19 3,925 6/7/2022
2.1.18 293 6/7/2022
2.1.17 291 6/7/2022
2.1.16-beta 268 6/6/2022
2.1.15-beta 258 5/31/2022
2.1.14-beta 268 5/19/2022
2.1.13-beta 251 5/19/2022
2.1.12-beta 252 5/9/2022
2.1.11-beta 251 5/2/2022
2.1.10-beta 259 4/25/2022
2.1.9-beta 1,043 4/21/2022
2.1.8-beta 322 4/11/2022
2.1.7-beta 312 4/8/2022
2.1.6-beta 268 4/5/2022
2.1.5-beta 260 3/31/2022
2.1.4-beta 267 3/21/2022
2.1.3-beta 284 3/15/2022
2.1.2 3,514 3/10/2022
2.1.2-beta 267 3/11/2022
2.1.1-beta12 282 3/2/2022
2.1.1-beta11 274 2/14/2022
2.1.1-beta10 257 2/8/2022
2.1.0 9,080 12/31/2021
2.1.0-beta9 309 12/27/2021
2.1.0-beta8 313 12/9/2021
2.1.0-beta7 304 12/9/2021
2.1.0-beta6 292 12/6/2021
2.1.0-beta5 285 11/29/2021
2.1.0-beta4 348 11/10/2021
2.1.0-beta3 317 11/10/2021
2.1.0-beta2 309 11/2/2021
2.1.0-beta10 301 12/30/2021
2.0.20-beta 334 9/25/2021
2.0.19-beta 308 9/24/2021
1.9.143 8,959 9/8/2021
1.9.130 1,815 8/31/2021
1.9.117 343 8/26/2021
1.9.87 556 6/21/2021
1.9.80 527 6/1/2021
1.9.77 376 5/31/2021
1.9.65 1,284 5/15/2021
1.9.56 399 4/19/2021
1.9.45 414 4/11/2021
1.9.41 416 4/6/2021
1.9.29-beta 353 4/1/2021
1.9.28-beta 347 4/1/2021
1.9.27-beta 369 3/24/2021
1.9.25-beta 334 3/24/2021
1.9.24-beta 350 3/24/2021
1.9.18-beta 1,159 3/22/2021
1.9.17-beta 1,183 3/17/2021
1.9.10-beta 1,120 3/13/2021
1.9.9-beta 1,278 3/13/2021
1.9.7-beta 1,147 3/5/2021
1.9.4-beta 1,192 2/1/2021
1.9.3-beta 1,255 1/25/2021
1.9.2-beta 1,206 1/20/2021
1.9.1-beta 1,234 1/19/2021
1.8.59 1,637 1/19/2021
1.8.58 1,500 1/18/2021
1.8.57 1,457 1/18/2021
1.8.56 1,510 1/18/2021
1.8.55 1,509 1/13/2021
1.8.54 4,696 1/4/2021
1.8.53 1,593 1/4/2021
1.8.51 1,567 1/4/2021
1.8.50 1,540 12/31/2020
1.8.49 1,455 12/30/2020
1.8.48 1,581 12/29/2020
1.8.47 1,521 12/29/2020
1.8.46 1,516 12/29/2020
1.8.41 1,538 12/21/2020
1.8.40 1,503 12/21/2020
1.8.38 2,596 12/14/2020
1.8.37 1,502 12/10/2020
1.8.36 1,473 12/10/2020
1.8.35 1,562 11/30/2020
1.8.34 1,592 11/23/2020
1.8.31 4,468 11/1/2020
1.8.30 6,167 10/22/2020
1.8.29 1,533 10/22/2020
1.8.28 1,519 10/22/2020
1.8.27 1,502 10/22/2020
1.8.26 1,607 10/20/2020
1.8.24 1,585 10/19/2020
1.8.23 1,571 10/19/2020
1.8.22 1,578 10/19/2020
1.8.21 1,584 10/14/2020
1.8.19-gcdaf522b67 1,280 10/14/2020
1.8.18-g15838e93ce 1,159 10/12/2020
1.8.17 1,441 9/29/2020
1.8.16 1,403 9/28/2020
1.8.15 1,385 9/28/2020
1.8.14 1,434 9/22/2020
1.8.13 1,398 9/22/2020
1.8.12 1,440 9/22/2020
1.8.11 1,462 9/14/2020
1.8.10 1,338 9/14/2020
1.8.9 1,431 9/7/2020
1.8.6 1,433 9/2/2020
1.8.5 1,395 9/2/2020
1.8.3 1,399 8/27/2020
1.8.2-beta 1,197 8/27/2020
1.8.1-beta 1,150 8/26/2020
1.7.37 1,421 8/26/2020
1.7.36-beta 1,237 8/25/2020
1.7.33-beta 1,304 7/25/2020
1.7.31-beta 1,274 7/19/2020
1.7.30-beta 1,319 7/19/2020
1.7.29-beta 1,232 7/18/2020
1.7.28-beta 1,245 7/18/2020
1.7.26-beta 1,198 7/17/2020
1.7.25-beta 1,258 7/10/2020
1.7.24-beta 1,279 6/24/2020
1.7.22-beta 1,247 6/23/2020
1.7.17-beta 1,208 6/17/2020
1.7.16-beta 1,244 6/16/2020
1.7.15-beta 1,213 6/16/2020
1.7.14-beta 1,267 6/15/2020
1.7.13-beta 1,227 6/15/2020
1.7.12-beta 1,236 6/15/2020
1.7.11-beta 1,194 6/3/2020
1.7.10-beta 1,228 6/3/2020
1.7.9-beta 1,222 6/3/2020
1.7.5-beta 1,184 4/29/2020
1.7.4-beta 1,226 4/23/2020
1.7.3-beta 1,245 4/23/2020
1.7.2-beta 1,173 8/27/2020
1.7.1-beta 1,251 4/3/2020
1.6.0 1,545 4/3/2020
1.5.0 1,545 12/24/2019
1.4.0 1,449 11/7/2019
1.3.0 1,480 9/21/2019
1.2.0 1,480 9/2/2019
1.1.0 1,626 8/30/2019