GLKViewController.Update Method

Definition

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.

Applies to