Class EglPlatformGraphics
- Namespace
- Avalonia.OpenGL.Egl
- Assembly
- Avalonia.OpenGL.dll
public sealed class EglPlatformGraphics : IPlatformGraphics
- Inheritance
-
EglPlatformGraphics
- Implements
-
- Inherited Members
-
Constructors
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
public static EglPlatformGraphics? TryCreate()
Returns
- EglPlatformGraphics
public static EglPlatformGraphics? TryCreate(Func<EglDisplay> displayFactory)
Parameters
displayFactory
Func<EglDisplay>
Returns
- EglPlatformGraphics