Skip to main content

EglPlatformGraphics Class

Definition

Assembly:Avalonia.OpenGL
Package:Avalonia
public class EglPlatformGraphics

Inheritance: object -> EglPlatformGraphics

Constructors

NameDescription
EglPlatformGraphicsNo summary available.

EglPlatformGraphics Constructor

public EglPlatformGraphics(Avalonia.OpenGL.Egl.EglDisplay display)

Parameters

display Avalonia.OpenGL.Egl.EglDisplay

Methods

NameDescription
CreateContextNo summary available.
GetSharedContextNo summary available.
TryCreate (2 overloads)No summary available.

CreateContext Method

public Avalonia.Platform.IPlatformGraphicsContext CreateContext()

Returns

Avalonia.Platform.IPlatformGraphicsContext

GetSharedContext Method

public Avalonia.Platform.IPlatformGraphicsContext GetSharedContext()

Returns

Avalonia.Platform.IPlatformGraphicsContext

TryCreate overloads

TryCreate Method

public Avalonia.OpenGL.Egl.EglPlatformGraphics TryCreate()
Returns

Avalonia.OpenGL.Egl.EglPlatformGraphics

TryCreate Method

public Avalonia.OpenGL.Egl.EglPlatformGraphics TryCreate(Func<Avalonia.OpenGL.Egl.EglDisplay> displayFactory)
Parameters

displayFactory Func<Avalonia.OpenGL.Egl.EglDisplay>

Returns

Avalonia.OpenGL.Egl.EglPlatformGraphics

Properties

NameDescription
UsesSharedContextNo summary available.

UsesSharedContext Property

public bool UsesSharedContext { get; set; }