OptionalcontextBorrowed Vulkan context. All handles are required. The device must support VK_KHR_swapchain, and the queue family must support graphics and presentation to this descriptor's surface.
OptionalextentLogical surface extent. A scale_factor that differs from the map's is accepted and logged as a warning.
OptionalsurfaceBorrowed VkSurfaceKHR bit pattern. Required.
Vulkan attachment options for a native surface.
See
mln_vulkan_surface_descriptorin the C API reference.