pub fn end_frame(stats: FrameStats)
Mark the end of the current frame, attaching the given FrameStats.
FrameStats