Advertisement

Vulkan and C#

Started by July 30, 2018 02:35 PM
2 comments, last by Enitalp 6 years, 6 months ago

Hi

I'm searching for a good implementation of Vulkan in C#, Don't need to be the fastest as it's for an Editor, but i need the most complete and most active one.

Saw a few ones but with no update in the past 5 months. Don't want to implement a "dead" library as my usage is for the next 3/4 years.

Any idea ? thanks

 

I'm assuming that when you say "implementation of Vulkan in C#", you are referring to bindings that let you call into Vulkan. I maintain one such set of bindings for .NET: https://github.com/mellinoe/vk. I've built it mainly for myself and for my internal use in my abstract graphics library Veldrid, where it provides the FFI for my Vulkan backend. As such, it's pretty specific to my needs. It is an extremely "raw" set of unsafe bindings. There's no fancy wrapping or marshalling happening, and its usage is intended to be identical to Vulkan in other languages. It does not support Vulkan 1.1 as of yet, but I haven't seen other bindings support that yet, either.

There's a couple of other options that I've seen, which might be more focused on "public consumption" than mine. https://github.com/discosultan/VulkanCore looks good, and is a higher-level set of bindings, with more of an intermediate layer between you and native Vulkan. https://github.com/FacticiusVir/SharpVk is another that I've seen used. I don't have experience with using either of these, personally.

Advertisement

Thanks a lot for your answer, will look at them.

 

This topic is closed to new replies.

Advertisement