pub const PREPARE: i32 = 100;
First phase each frame. Update time-dependent state before any queries.