mono / VulkanSharp

Open source .NET binding for the Vulkan API
MIT License
538 stars 61 forks source link

What about switching Vulkan.dll to .NET Standard? #68

Closed TillAlex closed 6 years ago

TillAlex commented 6 years ago

As far as I understand PCLs are dead. Is switching Vulkan.dll to .NET Standard a good idea?

radekdoulik commented 6 years ago

It is good idea. There are some issues in Xamarin.Android and .NET standard right now though. Once they are fixed I am all for it.

mellinoe commented 6 years ago

@TillAlex I maintain some bindings here which support .NET Standard. They are very different in style from the bindings here, though -- closer to native Vulkan.

FacticiusVir commented 6 years ago

@mellinoe Is vk compatible with Xamarin?

@TillAlex Most of the actively maintained .NET Vulkan libraries support .NET Standard; vk is a great low-level implementation, I maintain SharpVk which is closer to VulkanSharp's API, and VulkanCore is a hand-coded binding specifically for .NET Core.

mellinoe commented 6 years ago

@FacticiusVir It should be compatible, yeah. But like @radekdoulik mentioned, there are some problems with Xamarin + .NET Standard at the moment.

TillAlex commented 6 years ago

Is any of those library tested with MoltenVK? I'm statically linking MoltenVK into my app. As I don't get dllmaps working I have to change the DllImports in code to make it working with VulkanSharp.

mellinoe commented 6 years ago

@TillAlex I've tested my library with MoltenVK, but not on mono/Xamarin. Only on .NET Core/macOS.