pub unsafe fn create_wgpu_surface(
instance: &Instance,
window: &Window<'_>,
) -> Option<Surface<'static>>Expand description
Bridge a baseview raw-window-handle 0.5 to the wgpu-0.19
SurfaceTargetUnsafe type that iced_wgpu 0.13 expects.
ยงSafety
The window handle must be valid for the lifetime of the returned surface.