Skip to main content

ISkiaGpuRenderSession Interface

Definition​

Namespace:Avalonia.Skia
Assembly:Avalonia.Skia
Package:Avalonia.Skia

Custom render session for Skia render target.

public interface ISkiaGpuRenderSession

Implements: IDisposable

Properties​

NameDescription
GrContextGrContext used by this session.
ScaleFactorScaling factor.
SkSurfaceCanvas that will be used to render.
SurfaceOriginNo summary available.

GrContext Property​

GrContext used by this session.

public SkiaSharp.GRContext GrContext { get; set; }

ScaleFactor Property​

Scaling factor.

public double ScaleFactor { get; set; }

SkSurface Property​

Canvas that will be used to render.

public SkiaSharp.SKSurface SkSurface { get; set; }

SurfaceOrigin Property​

public SkiaSharp.GRSurfaceOrigin SurfaceOrigin { get; set; }