Table of Contents

Class EglPlatformGraphics

Namespace
Avalonia.OpenGL.Egl
Assembly
Avalonia.OpenGL.dll
public sealed class EglPlatformGraphics : IPlatformGraphics
Inheritance
EglPlatformGraphics
Implements
Inherited Members

Constructors

EglPlatformGraphics(EglDisplay)

public EglPlatformGraphics(EglDisplay display)

Parameters

display EglDisplay

Properties

UsesSharedContext

public bool UsesSharedContext { get; }

Property Value

bool

Methods

CreateContext()

public IPlatformGraphicsContext CreateContext()

Returns

IPlatformGraphicsContext

GetSharedContext()

public IPlatformGraphicsContext GetSharedContext()

Returns

IPlatformGraphicsContext

TryCreate()

public static EglPlatformGraphics? TryCreate()

Returns

EglPlatformGraphics

TryCreate(Func<EglDisplay>)

public static EglPlatformGraphics? TryCreate(Func<EglDisplay> displayFactory)

Parameters

displayFactory Func<EglDisplay>

Returns

EglPlatformGraphics