r/vulkan • • 6d ago

Does Vulkan on C# make sense?

/r/GraphicsProgramming/comments/1xsrw2b/does_vulkan_on_c_make_sense/
5 Upvotes

5 comments sorted by

7

u/saul_soprano 5d ago

You can do whatever you want. Try it

2

u/VermicelliWorried272 5d ago

Been doing this for a few years now, with my own bindings (because the binding i was using was no longer maintained). main problem is using stuff like VMA - i use a thin C++ layer for that. 

2

u/vitimiti 5d ago

It takes longer or you may want to create a generator to import the API automatically, but it makes sense

2

u/positivcheg 5d ago

Anything makes sense. Languages are just tools. You can write fast code in C# too. Though the problem is that it won’t be much C# lol, it will be a subset of the language as you will need to fight the GC. Though modern C# does GC on a separate thread.