zng_wgt_window

Function clear_color

Source
pub fn clear_color(child: impl UiNode, color: impl IntoVar<Rgba>) -> impl UiNode
Expand description

P Window clear color.

Color used to clear the previous frame pixels before rendering a new frame. It is visible if window content does not completely fill the content area, this can happen if you do not set a background or the background is semi-transparent, also can happen during very fast resizes.