![]() |
VOOZH | about |
Requires NuGet 4.3 or higher.
dotnet add package TerraFX.Interop.D3D12MemoryAllocator --version 3.1.0.1
NuGet\Install-Package TerraFX.Interop.D3D12MemoryAllocator -Version 3.1.0.1
<PackageReference Include="TerraFX.Interop.D3D12MemoryAllocator" Version="3.1.0.1" />
<PackageVersion Include="TerraFX.Interop.D3D12MemoryAllocator" Version="3.1.0.1" />Directory.Packages.props
<PackageReference Include="TerraFX.Interop.D3D12MemoryAllocator" />Project file
paket add TerraFX.Interop.D3D12MemoryAllocator --version 3.1.0.1
#r "nuget: TerraFX.Interop.D3D12MemoryAllocator, 3.1.0.1"
#:package TerraFX.Interop.D3D12MemoryAllocator@3.1.0.1
#addin nuget:?package=TerraFX.Interop.D3D12MemoryAllocator&version=3.1.0.1Install as a Cake Addin
#tool nuget:?package=TerraFX.Interop.D3D12MemoryAllocator&version=3.1.0.1Install as a Cake Tool
Managed port of D3D12MemoryAllocator.
Packages are available at: https://github.com/orgs/terrafx/packages or via the NuGet Feed URL: https://pkgs.terrafx.dev/index.json
TerraFX and everyone contributing (this includes issues, pull requests, the wiki, etc) must abide by the .NET Foundation Code of Conduct: https://dotnetfoundation.org/about/code-of-conduct.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at conduct@dotnetfoundation.org.
Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
If you are looking to contribute you should read our Contributing documentation.
Provide a managed port of GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator
The library is blittable, trim safe, AOT compatible, and as close to 1-to-1 with the underlying C API definitions as feasible. The general setup is fully compatible with the native definitions and could even be used against native exports that produce the relevant allocation objects if that were desired; however, since all the code is present this is primarily a port of the logic and doesn't rely on the original native library existing.
This project is supported by the .NET Foundation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on TerraFX.Interop.D3D12MemoryAllocator:
| Package | Downloads |
|---|---|
|
ComputeSharp.D3D12MemoryAllocator
An extension library for ComputeSharp to enable using D3D12MA as the memory allocator for graphics resources. |
Showing the top 3 popular GitHub repositories that depend on TerraFX.Interop.D3D12MemoryAllocator:
| Repository | Stars |
|---|---|
|
Sergio0694/ComputeSharp
A .NET library to run C# code in parallel on the GPU through DX12, D2D1, and dynamically generated HLSL compute and pixel shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀
|
|
|
amerkoleci/alimer
Cross-platform .NET 10 C# game engine.
|
|
|
JasonBock/Rocks
A mocking library based on the Compiler APIs (Roslyn + Mocks)
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.1.0.1 | 148 | 4/8/2026 |
| 3.1.0 | 239 | 2/24/2026 |
| 3.0.1.1 | 152 | 2/1/2026 |
| 3.0.1 | 294 | 10/29/2025 |
| 2.0.1.6 | 233 | 10/22/2025 |
| 2.0.1.5 | 5,554 | 12/30/2023 |
| 2.0.1.4 | 8,492 | 6/26/2023 |
| 2.0.1.3 | 8,105 | 2/12/2023 |
| 2.0.1.2 | 8,849 | 11/7/2022 |
| 2.0.1.1 | 1,676 | 10/9/2022 |
| 2.0.1 | 2,973 | 10/7/2022 |
| 2.0.0-beta3 | 20,021 | 11/15/2021 |
| 2.0.0-beta2 | 2,319 | 7/11/2021 |
| 2.0.0-beta1 | 2,234 | 3/6/2021 |