UgWindowSurface
Vulkan window surface creation and destruction
destroy
Destroy a Vulkan window surface
U0 destroy(VkInstance instance, VkSurfaceKHR surface);Parameters
instance— Vulkan instance the surface belongs tosurface— Surface to destroy
create
Create a Vulkan surface for a GLFW window
VkSurfaceKHR create(VkInstance instance, UgWindow.It& window);Parameters
instance— Vulkan instance to create the surface onwindow— GLFW window to attach the surface to
Returns — Newly created surface handle