Skip to main content

maintain_morph_blend

Function maintain_morph_blend 

Source
pub fn maintain_morph_blend(
    slot: &mut LayerSlot,
    layer: &ExtractedLayer,
    wanted: UVec2,
    render_device: &RenderDevice,
)
Expand description

Post-realloc maintenance: clear the slot when the morph ended, and track the capture size with the blend target (a mid-flight resize re-allocates the blend only — the snapshot survives untouched).