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
public virtual bool IsCorrupted { get; }
Property Value
- bool
Methods
public IGlPlatformSurfaceRenderingSession BeginDraw()
Returns
- IGlPlatformSurfaceRenderingSession
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
public abstract IGlPlatformSurfaceRenderingSession BeginDrawCore()
Returns
- IGlPlatformSurfaceRenderingSession
public virtual void Dispose()