I'm working on C# bindings for Vulkan, and these include a set of sample projects that render simple shapes to demonstrate the API calls. These projects run as WinForms applications, passing the HWND of the Forms to Vulkan to attach the Surface objects for creating swapchains.
I've had a request to provide a sample project that runs as a UWP application, but while I've got the project running (after porting all the code to UWP-portable libraries) and returning success codes from the Vulkan API, nothing appears in the UWP app window. I'm using the method described in this question to get a HWND from the UWP CoreWindow for the Vulkan Surface, and the sample code is uploaded at https://github.com/FacticiusVir/SharpVk/blob/UWP/SharpVk/SharpVk.HelloTriangle.Uwp/MainPage.xaml.cs - unfortunately I can't pick out a specific section of code to quote, as I've no idea where in the project the problem lies.
So, to summarise - should it be possible to use Vulkan as a renderer for UWP applications, and if so how should I go about it?