fn scene_phase(phase: Phase) -> Phase
The library’s engine knows nothing of the UI, so its phases are mapped here.