GLKViewController.Update Method
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.
Method invoked on each frame, before the GLKView's drawing method is invoked.
[Foundation.Export("update")]
public virtual void Update ();
abstract member Update : unit -> unit
override this.Update : unit -> unit
- Attributes
Remarks
This method should compute the data that should be displayed on the next frame. For applications that need to synchronize with a clock, you can use the TimeSinceLastUpdate property to compute the data to be displayed.
You should not attempt to draw in this method. Drawing will be triggered on your GLKView instance (either using the DrawInRect event handler, or using the M:GLKit.GLKViewControllerDelegate.DrawInRect(GLKit.GLKView,System.Drawing.RectangleF* method.