From dd9c4666a97620571c93536e9543cd5a11aee32d Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Tue, 8 Sep 2020 21:16:43 +0100 Subject: [PATCH] clarify max skia cache size property. --- src/Skia/Avalonia.Skia/SkiaOptions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Skia/Avalonia.Skia/SkiaOptions.cs b/src/Skia/Avalonia.Skia/SkiaOptions.cs index d14120204c..afd17acf97 100644 --- a/src/Skia/Avalonia.Skia/SkiaOptions.cs +++ b/src/Skia/Avalonia.Skia/SkiaOptions.cs @@ -15,6 +15,8 @@ namespace Avalonia /// /// The maximum number of bytes for video memory to store textures and resources. + /// This is set by default to the recommended value for Avalonia. + /// Setting this to null will give you the default Skia value. /// public long? MaxGpuResourceSizeBytes { get; set; } = 1024 * 600 * 4 * 12; // ~28mb 12x 1024 x 600 textures. }