Ahjo.Vulkan.Native
0.1.6
dotnet add package Ahjo.Vulkan.Native --version 0.1.6
NuGet\Install-Package Ahjo.Vulkan.Native -Version 0.1.6
<PackageReference Include="Ahjo.Vulkan.Native" Version="0.1.6" />
<PackageVersion Include="Ahjo.Vulkan.Native" Version="0.1.6" />
<PackageReference Include="Ahjo.Vulkan.Native" />
paket add Ahjo.Vulkan.Native --version 0.1.6
#r "nuget: Ahjo.Vulkan.Native, 0.1.6"
#:package Ahjo.Vulkan.Native@0.1.6
#addin nuget:?package=Ahjo.Vulkan.Native&version=0.1.6
#tool nuget:?package=Ahjo.Vulkan.Native&version=0.1.6
Ahjo.Vulkan.Native
Raw P/Invoke bindings for Vulkan, generated from the canonical Khronos Vulkan-Headers via ClangSharp. 1:1 with the C ABI.
The Vulkan loader is platform-supplied — this package does not bundle a
loader binary. A DllImportResolver registered at module-load maps the
canonical vulkan-1 library name to the right per-OS soname so
DllImport resolves cleanly without consumer setup.
Most people want Ahjo.Vulkan instead
This package exposes the raw C ABI: function pointers, unsafe
Vk*Info structs, manual handle release, p-next chains. Useful if you
want to write your own wrapper on top, or fine-tune at the ABI layer.
If you just want to use Vulkan from C#, install
Ahjo.Vulkan — it takes a
dependency on this package and layers an idiomatic ref struct-based
API on top.
Install
dotnet add package Ahjo.Vulkan.Native
Runtime requirements
| Platform | Loader source |
|---|---|
| Windows | GPU drivers ship vulkan-1.dll, or install the Vulkan SDK / VulkanRT |
| Linux | libvulkan1 (Debian/Ubuntu) or distro equivalent |
| macOS | MoltenVK (Vulkan SDK install) — surface bindings shipped, but no Mac CI runner yet |
The loader resolver maps vulkan-1 to libvulkan.dylib so DllImport
resolves cleanly under MoltenVK. End-to-end Mac validation is pending a
runner with real Vulkan drivers.
TFM: net10.0. Native ABI tracks the pinned Vulkan-Headers release
version; bumps are minor-version bumps here.
Status
Pre-1.0. The managed surface is generated and stable per Vulkan-Headers release.
Repository
Source, issues, generator response file
(tools/generate.rsp),
regeneration instructions: https://github.com/pekkah/Ahjo-Vulkan
License
MIT. © Pekka Heikura. Vulkan-Headers themselves are licensed Apache-2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Ahjo.Vulkan.Native:
| Package | Downloads |
|---|---|
|
Ahjo.Vulkan.Vma.Native
Raw P/Invoke bindings for AMD VulkanMemoryAllocator (v3.3.0). Ships native runtime binaries for Windows and Linux (x64 + arm64). macOS support pending MoltenVK runtime validation. |
|
|
Ahjo.Vulkan
Idiomatic C# wrapper over Vulkan with integrated VulkanMemoryAllocator (VMA): ref-struct command buffers, struct handles, zero-per-frame allocations. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.6 | 109 | 5/24/2026 |
| 0.1.5 | 121 | 5/23/2026 |
| 0.1.4 | 117 | 5/22/2026 |
| 0.1.3 | 110 | 5/22/2026 |
| 0.1.2 | 111 | 5/22/2026 |
| 0.1.1 | 106 | 5/21/2026 |
| 0.1.1-alpha.0.1 | 54 | 5/21/2026 |
| 0.1.0 | 105 | 5/21/2026 |
| 0.0.0-alpha.0.163 | 53 | 5/21/2026 |
| 0.0.0-alpha.0.162 | 55 | 5/21/2026 |
| 0.0.0-alpha.0.161 | 59 | 5/12/2026 |