Skip to main content

GraphicsAdapterSelectionCallback Property

Specifies a callback method to be called when compositor needs to create a platform graphics device Currently is only called for AngleEgl rendering mode when DirectX 11 is used

Definition

Namespace: Avalonia
Assembly: Avalonia.Win32 (in Avalonia.Win32.dll)

public Func<IReadOnlyList<PlatformGraphicsDeviceAdapterDescription>, int>? GraphicsAdapterSelectionCallback { get; set; }

Property Value

Func(IReadOnlyList(PlatformGraphicsDeviceAdapterDescription), Int32)

See Also

Reference

Win32PlatformOptions Class
Avalonia Namespace