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