[−][src]Function vulkano_glfw_v2::create_window_surface
pub fn create_window_surface(
instance: Arc<Instance>,
window: Window
) -> Result<Arc<Surface<Window>>, VulkanoGlfwError>
Create a surface from a GLFW window
Returns a Result wrapping an Arc managing a Surfaceglfw::Window, or an error
Arguments
instance
- An Arc managing the Vulkan Instancewindow
- The window for the surface to be created from