Edit

Share via


SKGLView.HasRenderLoop Property

Definition

Gets or sets a value indicating whether the view should continuously render frames.

public bool HasRenderLoop { get; set; }

Property Value

true if the render loop is enabled; otherwise, false. The default is false.

Remarks

When enabled, the PaintSurface event is raised continuously for each frame, suitable for animations. When disabled, rendering only occurs when InvalidateSurface() is called.

Applies to