PeachDrawing.Skia.SkiaRenderContext

SkiaRenderContext.GpuContext Property

The GPU context the host draws with, or null for a CPU surface. It is borrowed (never disposed here). When set, a decoded image is uploaded to it once and the texture reused for every draw; when the host’s canvas is not backed by it, leave it unset.

public SkiaSharp.GRContext? GpuContext { get; set; }

Property Value

SkiaSharp.GRContext