Skip to main content

compositing_layer_damage

Function compositing_layer_damage 

Source
pub fn compositing_layer_damage(
    previous: &[ScenePrimitive],
    next: &[ScenePrimitive],
    layer_bounds: UiRect,
) -> Vec<UiRect>
Expand description

Computes the pixels that can change when a retained layer replaces one command list with another. Returned rectangles use the same local coordinate space as previous and next.