Skip to main content

surface_below_transparency

Function surface_below_transparency 

Source
pub fn surface_below_transparency(windowing: Windowing) -> Transparency
Expand description

How a window that may show a surface below egui (the image viewport’s image surface, a Wayland subsurface) is built on windowing: transparent on Wayland, so that surface shows through; opaque elsewhere, where there is no such surface to show and a transparent window only costs the compositor, with the reason.

Experimental: may change in any release (docs/stability.md).