pub fn freeze_morph_snapshot(
slot: &mut LayerSlot,
layer: &ExtractedLayer,
wanted: UVec2,
render_device: &RenderDevice,
)Expand description
Consume a new freeze_seq: steal the pixels currently on screen as the
snapshot and reset the slot’s morph state around it. MUST run before the
caller’s realloc branch — the steal reads the pre-realloc textures — and
the caller must preserve slot.morph across that realloc.