EglGlPlatformImageSurfaceBase Class
Definition
Base class for EGL-backed Avalonia.OpenGL.Surfaces.IGlPlatformSurface implementations that render into an EGLImage. Derived types create a concrete render target bound to a given GL context.
public class EglGlPlatformImageSurfaceBase
Methods
| Name | Description |
|---|---|
| CreateGlRenderTarget | Creates a render target for the given GL context. |
CreateGlRenderTarget Method
Creates a render target for the given GL context.
public Avalonia.OpenGL.Surfaces.IGlPlatformSurfaceRenderTarget CreateGlRenderTarget(Avalonia.OpenGL.IGlContext context)
Parameters
context Avalonia.OpenGL.IGlContext
The GL context the render target will be used with.