EglContext Class
Definition
public class EglContext
Methods
| Name | Description |
|---|---|
| CreateSharedContext | No summary available. |
| Dispose | No summary available. |
| EnsureCurrent | No summary available. |
| EnsureLocked | No summary available. |
| IsSharedWith | No summary available. |
| MakeCurrent (2 overloads) | No summary available. |
| NotifyContextLost | No summary available. |
| TryGetFeature | No summary available. |
CreateSharedContext Method
public Avalonia.OpenGL.IGlContext CreateSharedContext(System.Collections.Generic.IEnumerable<Avalonia.OpenGL.GlVersion> preferredVersions)
Parameters
preferredVersions System.Collections.Generic.IEnumerable<Avalonia.OpenGL.GlVersion>
Returns
Dispose Method
public void Dispose()
EnsureCurrent Method
public IDisposable EnsureCurrent()
Returns
IDisposable
EnsureLocked Method
public IDisposable EnsureLocked()
Returns
IDisposable
IsSharedWith Method
public bool IsSharedWith(Avalonia.OpenGL.IGlContext context)
Parameters
context Avalonia.OpenGL.IGlContext
Returns
bool
MakeCurrent overloads
MakeCurrent Method
public IDisposable MakeCurrent()
Returns
IDisposable
MakeCurrent Method
public IDisposable MakeCurrent(Avalonia.OpenGL.Egl.EglSurface surface)
Parameters
surface Avalonia.OpenGL.Egl.EglSurface
Returns
IDisposable
NotifyContextLost Method
public void NotifyContextLost()
TryGetFeature Method
public object TryGetFeature(Type featureType)
Parameters
featureType Type
Returns
object
Properties
| Name | Description |
|---|---|
| CanCreateSharedContext | No summary available. |
| Context | No summary available. |
| Display | No summary available. |
| EglInterface | No summary available. |
| GlInterface | No summary available. |
| IsCurrent | No summary available. |
| IsLost | No summary available. |
| OffscreenSurface | No summary available. |
| SampleCount | No summary available. |
| StencilSize | No summary available. |
| Version | No summary available. |
CanCreateSharedContext Property
public bool CanCreateSharedContext { get; set; }
Context Property
public IntPtr Context { get; set; }
Display Property
public Avalonia.OpenGL.Egl.EglDisplay Display { get; set; }
EglInterface Property
public Avalonia.OpenGL.Egl.EglInterface EglInterface { get; set; }
GlInterface Property
public Avalonia.OpenGL.GlInterface GlInterface { get; set; }
IsCurrent Property
public bool IsCurrent { get; set; }
IsLost Property
public bool IsLost { get; set; }
OffscreenSurface Property
public Avalonia.OpenGL.Egl.EglSurface OffscreenSurface { get; set; }
SampleCount Property
public int SampleCount { get; set; }
StencilSize Property
public int StencilSize { get; set; }
Version Property
public Avalonia.OpenGL.GlVersion Version { get; set; }