Arcodiant.Vulkan 0.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Arcodiant.Vulkan --version 0.2.1
                    
NuGet\Install-Package Arcodiant.Vulkan -Version 0.2.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="Arcodiant.Vulkan" Version="0.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Arcodiant.Vulkan" Version="0.2.1" />
                    
Directory.Packages.props
<PackageReference Include="Arcodiant.Vulkan" />
                    
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 Arcodiant.Vulkan --version 0.2.1
                    
#r "nuget: Arcodiant.Vulkan, 0.2.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 Arcodiant.Vulkan@0.2.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=Arcodiant.Vulkan&version=0.2.1
                    
Install as a Cake Addin
#tool nuget:?package=Arcodiant.Vulkan&version=0.2.1
                    
Install as a Cake Tool

Arcodiant.Vulkan

A thin C# binding for Vulkan and GLFW 3.4, for .NET 10.

  • Interop types are generated from the Vulkan registry (vk.xml); a hand-written object API sits on top: Instance, PhysicalDevice, Device, Queue, CommandBuffer, Swapchain, Image, Pipeline and the rest, plus Glfw for windows, input, monitors and gamepads.
  • Covers what a modern renderer needs: dynamic rendering, extended dynamic state, descriptor indexing, buffer device address, timestamp queries, acceleration structures and ray-tracing pipelines, and the debug-utils messenger.
  • Supported consumer platform: win-x64. The package carries the GLFW 3.4 native for win-x64 (runtimes/win-x64/native/glfw.dll), which NuGet copies into your output. The Vulkan loader (vulkan-1.dll) comes from the GPU driver or the Vulkan SDK.
  • linux-x64 GLFW is bundled for Linux test hosts only (runtimes/linux-x64/native/libglfw.so.3, with libvulkan.so.1 from the system). Linux is not a supported consumer platform. macOS (MoltenVK) is probed but untested, and needs a system GLFW.

Getting started

using Vulkan;

Glfw.Init();
var instance = Instance.Create("My app", Glfw.GetRequiredInstanceExtensions(), []);
var physicalDevice = instance.EnumeratePhysicalDevices()[0];
// physicalDevice.CreateDevice(["VK_KHR_swapchain"], features, new DeviceExtensions { ... }), ...

Pass chained feature structs through the per-method XxxExtensions struct (for example physicalDevice.CreateDevice(deviceExtensionNames, features, new DeviceExtensions { DynamicRendering = new() { DynamicRendering = true } })); the binding stamps SType and builds the pNext chain.

Your own GLFW calls

If your assembly declares its own DllImport("glfw") for a function Glfw doesn't wrap, call Vulkan.GlfwNative.RegisterResolver(typeof(SomeTypeInYourAssembly).Assembly) once before the first such call, or it won't find libglfw.so.3 on Linux. An assembly with a resolver of its own calls GlfwNative.Resolve(name) from it instead.

Versioning

The binding is 0.x: a minor release may break the API, and the CHANGELOG.md packed alongside this README names every break.

License

MIT. Bundled third-party material (GLFW, zlib License) is listed in THIRD-PARTY-NOTICES.md.

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 (1)

Showing the top 1 NuGet packages that depend on Arcodiant.Vulkan:

Package Downloads
Arcodiant.Empyrean.Graphics

Vulkan rendering for the Empyrean engine: window, cameras, meshes, sprites, lighting, materials, model and texture loading, and HUD text.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.1 66 11/15/2026
0.3.0 47 11/15/2026
0.2.1 93 11/13/2026