Table of Contents

Class EglPlatformSurfaceRenderTargetBase

Namespace
Avalonia.OpenGL.Egl
Assembly
Avalonia.OpenGL.dll
public abstract class EglPlatformSurfaceRenderTargetBase : IGlPlatformSurfaceRenderTargetWithCorruptionInfo, IGlPlatformSurfaceRenderTarget, IDisposable
Inheritance
EglPlatformSurfaceRenderTargetBase
Implements
Inherited Members

Constructors

EglPlatformSurfaceRenderTargetBase(EglContext)

protected EglPlatformSurfaceRenderTargetBase(EglContext context)

Parameters

context EglContext

Properties

Context

protected EglContext Context { get; }

Property Value

EglContext

IsCorrupted

public virtual bool IsCorrupted { get; }

Property Value

bool

Methods

BeginDraw()

public IGlPlatformSurfaceRenderingSession BeginDraw()

Returns

IGlPlatformSurfaceRenderingSession

BeginDraw(EglSurface, PixelSize, double, Action?, bool)

protected IGlPlatformSurfaceRenderingSession BeginDraw(EglSurface surface, PixelSize size, double scaling, Action? onFinish = null, bool isYFlipped = false)

Parameters

surface EglSurface
size PixelSize
scaling double
onFinish Action
isYFlipped bool

Returns

IGlPlatformSurfaceRenderingSession

BeginDrawCore()

public abstract IGlPlatformSurfaceRenderingSession BeginDrawCore()

Returns

IGlPlatformSurfaceRenderingSession

Dispose()

public virtual void Dispose()