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)
- C#
- VB
- F#
public Func<IReadOnlyList<PlatformGraphicsDeviceAdapterDescription>, int>? GraphicsAdapterSelectionCallback { get; set; }
Public Property GraphicsAdapterSelectionCallback As Func(Of IReadOnlyList(Of PlatformGraphicsDeviceAdapterDescription), Integer)
Get
Set
member GraphicsAdapterSelectionCallback : Func<IReadOnlyList<PlatformGraphicsDeviceAdapterDescription>, int> with get, set
Property Value
Func(IReadOnlyList(PlatformGraphicsDeviceAdapterDescription), Int32)