SKGLTextureViewRenderer Class

Definition

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

C#
public abstract class SKGLTextureViewRenderer : Java.Lang.Object, SkiaSharp.Views.Android.GLTextureView.IRenderer
Inheritance
SKGLTextureViewRenderer
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 SKGLTextureViewRenderer 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.

OnSurfaceDestroyed()

Called when the surface has been lost.

Applies to

Tuote Versiot
SkiaSharp Views 1.60.x, 1.68.x, 2.80.x, 2.88.x