Skip to main content

Interface ISkiaGpuRenderSession

Namespace: Avalonia.Skia
Assembly: Avalonia.Skia.dll

Custom render session for Skia render target.

public interface ISkiaGpuRenderSession : IDisposable

Implements​

IDisposable

Properties​

GrContext​

GrContext used by this session.

GRContext GrContext { get; }

Property Value​

GRContext

ScaleFactor​

Scaling factor.

double ScaleFactor { get; }

Property Value​

double

SkSurface​

Canvas that will be used to render.

SKSurface SkSurface { get; }

Property Value​

SKSurface

SurfaceOrigin​

GRSurfaceOrigin SurfaceOrigin { get; }

Property Value​

GRSurfaceOrigin