Luna::Window::new_vulkan_surface_from_window

R< VkSurfaceKHR > new_vulkan_surface_from_window(VkInstance instance, IWindow *window)

Creates a vulkan surface form window.

Parameters

  • in instance

    The Vulkan instance.

  • in window

    The window to create surface for.

Return value

Returns the created vulkan surface.