Skip to main content

Class SkiaOptions

Namespace: Avalonia
Assembly: Avalonia.Skia.dll

Options for Skia rendering subsystem.

public class SkiaOptions

Inheritance​

object ← SkiaOptions

Inherited Members​

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

Properties​

MaxGpuResourceSizeBytes​

The maximum number of bytes for video memory to store textures and resources.

public long? MaxGpuResourceSizeBytes { get; set; }

Property Value​

long?

Remarks​

This is set by default to the recommended value for Avalonia. Setting this to null will give you the default Skia value.

UseOpacitySaveLayer​

Use Skia's SaveLayer API to handling opacity.

public bool UseOpacitySaveLayer { get; set; }

Property Value​

bool

Remarks​

Enabling this might have performance implications.