Skip to main content

Class VelloApplicationExtensions

Namespace: VelloSharp.Avalonia.Vello
Assembly: VelloSharp.Avalonia.Vello.dll

Provides registration helpers for the Vello rendering subsystem.

public static class VelloApplicationExtensions

Inheritance​

object ← VelloApplicationExtensions

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods​

UseVello(AppBuilder, VelloPlatformOptions?)​

Configures Avalonia to use the Vello renderer backed by VelloSharp and WGPU.

public static AppBuilder UseVello(this AppBuilder builder, VelloPlatformOptions? options = null)

Parameters​

builder AppBuilder

The instance.

options VelloPlatformOptions?

Optional renderer configuration.

Returns​

AppBuilder

The original builder for fluent configuration.