To use Vulkan API with SDL library in C#, you can follow the below steps:
Install the Vulkan SDK from the official website: https://vulkan.lunarg.com/sdk/home
Use the NuGet package manager to install the SDL2-CS package in your project.
Add the SDL2.dll to your project by copying it to your project's directory.
Create a new SDL window by using the SDL_CreateWindow function and initialize the Vulkan API.
main.cs2623 chars69 lines
gistlibby LogSnag