Skip to main content

EglConfigProbeCallback Delegate

Definition​

Assembly:Avalonia.OpenGL
Package:Avalonia

Given every EGL config matched by eglChooseConfig, returns the one that should be used, or null if none are usable. This lets platforms filter out broken configs that can't be distinguished by their attributes (e.g. nvidia exposes duplicate, partially broken configs) and impose their own preference order between usable ones (e.g. preferring a transparent/32-bit X11 visual, which mesa lists after the opaque ones).

public delegate EglConfigProbeCallback

Inheritance: MulticastDelegate -> EglConfigProbeCallback

Constructors​

NameDescription
EglConfigProbeCallbackNo summary available.

EglConfigProbeCallback Constructor​

public EglConfigProbeCallback(object object, IntPtr method)

Parameters​

object object

method IntPtr

Methods​

NameDescription
BeginInvokeNo summary available.
EndInvokeNo summary available.
InvokeNo summary available.

BeginInvoke Method​

public IAsyncResult BeginInvoke(Avalonia.OpenGL.Egl.EglInterface egl, IntPtr display, IntPtr[] configs, AsyncCallback callback, object object)

Parameters​

egl Avalonia.OpenGL.Egl.EglInterface

display IntPtr

configs IntPtr[]

callback AsyncCallback

object object

Returns​

IAsyncResult

EndInvoke Method​

public Nullable<IntPtr> EndInvoke(IAsyncResult result)

Parameters​

result IAsyncResult

Returns​

Nullable<IntPtr>

Invoke Method​

public Nullable<IntPtr> Invoke(Avalonia.OpenGL.Egl.EglInterface egl, IntPtr display, IntPtr[] configs)

Parameters​

egl Avalonia.OpenGL.Egl.EglInterface

display IntPtr

configs IntPtr[]

Returns​

Nullable<IntPtr>