Skip to main content

EglContext Class

Definition

Namespace: Avalonia.OpenGL.Egl
Assembly: Avalonia.OpenGL (in Avalonia.OpenGL.dll)

public class EglContext : IGlContext, IPlatformGraphicsContext, 
IDisposable, IOptionalFeatureProvider
View Source
InheritanceObject → EglContext
ImplementsIGlContext, IOptionalFeatureProvider, IPlatformGraphicsContext, IDisposable

Properties

CanCreateSharedContext 
Context 
Display 
EglInterface 
GlInterface 
IsCurrent 
IsLost 
OffscreenSurface 
SampleCount 
StencilSize 
Version 

Methods

CreateSharedContext(IEnumerable(GlVersion)) 
Dispose()Releases all resources used by the EglContext
EnsureCurrent() 
EnsureLocked() 
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
IsSharedWith(IGlContext) 
MakeCurrent() 
MakeCurrent(EglSurface) 
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
NotifyContextLost() 
ToString()Returns a string that represents the current object.
(Inherited from Object)
TryGetFeature(Type) 

See Also

Reference

Avalonia.OpenGL.Egl Namespace