Skip to main content

animated_compositing_layer

Function animated_compositing_layer 

Source
pub fn animated_compositing_layer<T>(
    rect: UiRect,
    configure: impl FnOnce(&mut T) + 'static,
) -> Element
Expand description

Creates a retained compositing layer whose application-owned animation state updates only composition properties. Its static children are reused between frames.