Edit

SKGLSurfaceViewRenderer Class

Definition

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

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

Constructors

Name Description
SKGLSurfaceViewRenderer()

Initializes a new instance of the SKGLSurfaceViewRenderer class.

Properties

Name Description
CanvasSize

Gets the current canvas size.

GRContext

Gets the current GPU context.

Methods

Name Description
Dispose(Boolean)

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

OnDrawFrame(IGL10)

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.

Explicit Interface Implementations

Name Description
IJavaPeerable.UnregisterFromRuntime()

This member supports the SkiaSharp infrastructure and is not intended to be used directly from your code.

Applies to