SKGLSurfaceViewRenderer Class

Definition

An abstract implementation of GLSurfaceView.IRenderer that provides a SKSurface for drawing.

C#
public abstract class SKGLSurfaceViewRenderer : Java.Lang.Object, Android.Opengl.GLSurfaceView.IRenderer, IDisposable
C#
public abstract class SKGLSurfaceViewRenderer : Java.Lang.Object, Android.Opengl.GLSurfaceView.IRenderer, IDisposable, Java.Interop.IJavaPeerable
Inheritance
SKGLSurfaceViewRenderer
Implements

Constructors

Properties

CanvasSize

Gets the current canvas size.

GRContext

Gets the current GPU context.

Methods

Dispose(Boolean)

Releases the unmanaged resources used by the SKGLSurfaceViewRenderer and optionally releases the managed resources.

OnDrawFrame(IGL10)

Called to draw the current frame.

OnDrawFrame(SKSurface, GRBackendRenderTargetDesc)
Obsolete.

Called to draw the current frame.

OnPaintSurface(SKPaintGLSurfaceEventArgs)

Called to draw the current frame on the surface.

OnSurfaceChanged(IGL10, Int32, Int32)

Called when the surface changed size.

OnSurfaceCreated(IGL10, EGLConfig)

Called when the surface is created or recreated.

Applies to

Product Versions
SkiaSharp Views 1.60.x, 1.68.x, 2.80.x, 2.88.x