Class EglContext
public class EglContext : IGlContext, IPlatformGraphicsContext, IDisposable, IOptionalFeatureProvider
- Inheritance
-
EglContext
- Implements
- Inherited Members
Properties
CanCreateSharedContext
public bool CanCreateSharedContext { get; }
Property Value
Context
public nint Context { get; }
Property Value
Display
public EglDisplay Display { get; }
Property Value
EglInterface
public EglInterface EglInterface { get; }
Property Value
GlInterface
public GlInterface GlInterface { get; }
Property Value
IsCurrent
public bool IsCurrent { get; }
Property Value
IsLost
public bool IsLost { get; }
Property Value
OffscreenSurface
public EglSurface? OffscreenSurface { get; }
Property Value
SampleCount
public int SampleCount { get; }
Property Value
StencilSize
public int StencilSize { get; }
Property Value
Version
public GlVersion Version { get; }
Property Value
Methods
CreateSharedContext(IEnumerable<GlVersion>?)
public IGlContext CreateSharedContext(IEnumerable<GlVersion>? preferredVersions = null)
Parameters
preferredVersions
IEnumerable<GlVersion>
Returns
Dispose()
public void Dispose()
EnsureCurrent()
public IDisposable EnsureCurrent()
Returns
EnsureLocked()
public IDisposable EnsureLocked()
Returns
IsSharedWith(IGlContext)
public bool IsSharedWith(IGlContext context)
Parameters
context
IGlContext
Returns
MakeCurrent()
public IDisposable MakeCurrent()
Returns
MakeCurrent(EglSurface?)
public IDisposable MakeCurrent(EglSurface? surface)
Parameters
surface
EglSurface
Returns
NotifyContextLost()
public void NotifyContextLost()
TryGetFeature(Type)
Queries for an optional feature.
public object? TryGetFeature(Type featureType)
Parameters
featureType
TypeFeature type.