Skip to main content

LinuxFramebufferPlatformOptions Class

Definition

Assembly:Avalonia.LinuxFramebuffer
Package:Avalonia.LinuxFramebuffer

Platform-specific options which apply to the Linux framebuffer.

public class LinuxFramebufferPlatformOptions

Inheritance: object -> LinuxFramebufferPlatformOptions

Constructors

NameDescription
LinuxFramebufferPlatformOptionsNo summary available.

LinuxFramebufferPlatformOptions Constructor

public LinuxFramebufferPlatformOptions()

Properties

NameDescription
FpsGets or sets the number of frames per second at which the renderer should run. Default 60.
ShouldRenderOnUIThreadRender directly on the UI thread instead of using a dedicated render thread. This can be usable if your device don't have multiple cores to begin with. This setting is false by default.

Fps Property

Gets or sets the number of frames per second at which the renderer should run. Default 60.

public int Fps { get; set; }

ShouldRenderOnUIThread Property

Render directly on the UI thread instead of using a dedicated render thread. This can be usable if your device don't have multiple cores to begin with. This setting is false by default.

public bool ShouldRenderOnUIThread { get; set; }