mono / VulkanSharp

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

vkCreateDebugReportCallbackEXT, vkDestroyDebugReportCallbackEXT and vkDebugReportMessageEXT #54

Closed amerkoleci closed 7 years ago

amerkoleci commented 7 years ago

Those 3 need the "[UnmanagedFunctionPointer(CallingConvention.StdCall)]" otherwise GC marshalling will fail in some scenarios.

discosultan commented 7 years ago

Can you elaborate in which scenarios this may be a problem?

amerkoleci commented 7 years ago

Now I'm using your VulkanCore lib, should be considered closed, I thought the issue was to missing UnmanagedFunctionPointerAttribute.