SKGLView.EnableRenderLoop Property
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.
Gets or sets a value indicating whether continuous rendering is enabled.
[Microsoft.AspNetCore.Components.Parameter]
public bool EnableRenderLoop { get; set; }
Property Value
true to render continuously using requestAnimationFrame; false to render only when Invalidate() is called.
- Attributes
Remarks
Enable this for animations that need to update every frame. Disable for static content to conserve GPU resources and battery.