Avalonia/samples/GpuInterop/MainWindow.axaml.cs

23 строки
470 B
C#

using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Avalonia.Rendering;
namespace GpuInterop
{
public class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
this.AttachDevTools();
RendererDiagnostics.DebugOverlays = RendererDebugOverlays.Fps;
}
private void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
}
}