This project provides bindings for the Vulkan API in .NET, allowing developers to leverage modern graphics and compute capabilities within .NET applications. This wrapper simplifies interaction with Vulkan while maintaining functionality.
- Vulkan SDK installed on your system (ensure it includes headers and libraries).
Download and extract to a directory like
C:/VulkanSDK. - .NET 9+.
Run the following commands:
./build.shSet these environment variables:
# Linux/macOS
export VK_INSTANCE_EXTENSIONS="VK_KHR_SURFACE,VK_KHR_WIN32_SURFACE"
# Windows (PowerShell)
$env:VK_INSTANCE_EXTENSIONS = "VK_KHR_SURFACE,VK_KHR_WIN32_SURFACE"Ensure vulkan-1.dll is in your system PATH. If not, specify its location.
- Vulkan being present on the system and that's it.
- BindGen: Generates
.csbindings. Ensure it is in yourPATH.