[−][src]Function vulkano_win::create_vk_surface_from_handle
pub fn create_vk_surface_from_handle<W>(
window: W,
instance: Arc<Instance>
) -> Result<Arc<Surface<W>>, SurfaceCreationError> where
W: HasRawWindowHandle,
Creates a vulkan surface from a generic window which implements HasRawWindowHandle and thus can reveal the os-dependent handle