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
                    
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="Ahjo.Vulkan.Native" Version="0.1.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ahjo.Vulkan.Native" Version="0.1.6" />
                    
Directory.Packages.props
<PackageReference Include="Ahjo.Vulkan.Native" />
                    
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 Ahjo.Vulkan.Native --version 0.1.6
                    
#r "nuget: Ahjo.Vulkan.Native, 0.1.6"
                    
#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 Ahjo.Vulkan.Native@0.1.6
                    
#: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=Ahjo.Vulkan.Native&version=0.1.6
                    
Install as a Cake Addin
#tool nuget:?package=Ahjo.Vulkan.Native&version=0.1.6
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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