Skip to main content

apply_layout

Function apply_layout 

Source
pub fn apply_layout(window: &mut ContextWindow, layout: &ContextLayout)
Expand description

Swap a ContextWindow to a stage-specific layout in place, preserving each carried-over region’s existing content by name. Pure over the window (no engine/entity), so both the imperative engine and the ECS pipeline’s stage-entry can share it.