RenderLoop Class

Summary

The application render loop.
Namespace
Avalonia.Rendering
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IRenderLoop"] click Interface0 "/api/Avalonia.Rendering/IRenderLoop" Type["RenderLoop"] class Type type-node

Syntax

public class RenderLoop : IRenderLoop

Remarks

The render loop is responsible for advancing the animation timer and updating the scene graph for visible windows.

Constructors

Name Summary
RenderLoop() Initializes a new instance of the RenderLoop class.
RenderLoop(IRenderTimer, IDispatcher) Initializes a new instance of the RenderLoop class.

Properties

Name Value Summary
Timer IRenderTimer
Gets the render timer.

Methods

Name Value Summary
Add(IRenderLoopTask) void
Adds an update task.
Remove(IRenderLoopTask) void
Removes an update task.