Suspends rendering to the display until the next 'ShowFrame' The renderer may perform tessellation or rendering in the background after 'StartFrame' but won't commit anything to the visible frame buffer until 'ShowFrame' is hit. If 'StartFrame' is nested, then the frame won't be displayed until 'ShowFrame' has been requested at least that many times. The frame state persists across a 'ClearCanva
(&mut self)
| 24 | /// |
| 25 | /// The frame state persists across a 'ClearCanvas' |
| 26 | fn start_frame(&mut self) { self.draw(Draw::StartFrame); } |
| 27 | |
| 28 | /// Displays any requested queued after 'StartFrame' |
| 29 | fn show_frame(&mut self) { self.draw(Draw::ShowFrame); } |