BeginDraw(EglSurface, PixelSize, Double, Action, Boolean) Method
Definition
Namespace: Avalonia.OpenGL.Egl
Assembly: Avalonia.OpenGL (in Avalonia.OpenGL.dll)
- C#
- VB
- F#
protected IGlPlatformSurfaceRenderingSession BeginDraw(
EglSurface surface,
PixelSize size,
double scaling,
Action? onFinish = null,
bool isYFlipped = false
)
Protected Function BeginDraw (
surface As EglSurface,
size As PixelSize,
scaling As Double,
Optional onFinish As Action = Nothing,
Optional isYFlipped As Boolean = false
) As IGlPlatformSurfaceRenderingSession
member BeginDraw :
surface : EglSurface *
size : PixelSize *
scaling : float *
?onFinish : Action *
?isYFlipped : bool
(* Defaults:
let _onFinish = defaultArg onFinish null
let _isYFlipped = defaultArg isYFlipped false
*)
-> IGlPlatformSurfaceRenderingSession
Parameters
- EglSurface
- PixelSize
- Double
- Action (Optional)
- Boolean (Optional)
Return Value
IGlPlatformSurfaceRenderingSessionSee Also
Reference
EglPlatformSurfaceRenderTargetBase Class
BeginDraw Overload
Avalonia.OpenGL.Egl Namespace