pub fn sync(ctx: &Context)
Syncs hframe internal stuff between the egui and web worlds. This function must be always called at the end of the update loop unconditionally.