iPhoneOSGameView.UpdateFrame Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs part of run-loop processing when a frame should be updated prior to rendering.
public event EventHandler<OpenTK.FrameEventArgs> UpdateFrame;
member this.UpdateFrame : EventHandler<OpenTK.FrameEventArgs>
Event Type
Implements
Remarks
When using the run-loop processing architecture, events happen in the following order:
- Load
-
UpdateFrame
- RenderFrame
- Unload
Run() and Run(Double), invoke Load before starting the UpdateFrame/RenderFrame loop which is invoked for every rendered frame.
Stop() ends the UpdateFrame/RenderFrame loop processing, then invokes the Unload event.