ITopLevelImplSurfaces Property
The list of native platform's surfaces that can be consumed by rendering subsystems.
Namespace: Avalonia.PlatformAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
IEnumerable<Object> Surfaces { get; }
ReadOnly Property Surfaces As IEnumerable(Of Object)
Get
abstract Surfaces : IEnumerable<Object> with get
Property Value
IEnumerableObject
Rendering platform will check that list and see if it can utilize one of them to output.
It should be enough to expose a native window handle via IPlatformHandle
and add support for framebuffer (even if it's emulated one) via IFramebufferPlatformSurface.
If you have some rendering platform that's tied to your particular windowing platform,
just expose some toolkit-specific object (e. g. Func<Gdk.Drawable> in case of GTK#+Cairo)