SKGLSurfaceView Class

Definition

An implementation of GLSurfaceView that uses the dedicated surface for displaying a hardware-accelerated SKSurface.

public class SKGLSurfaceView : Android.Opengl.GLSurfaceView
Inheritance
SKGLSurfaceView

Constructors

SKGLSurfaceView(Context)

Simple constructor to use when creating a SKGLSurfaceView from code.

SKGLSurfaceView(Context, IAttributeSet)

Constructor that is called when inflating a SKGLSurfaceView from XML.

Properties

CanvasSize

Gets the current canvas size.

GRContext

Gets the current GPU context.

Methods

OnPaintSurface(SKPaintGLSurfaceEventArgs)

Implement this to draw on the canvas.

SetRenderer(SKGLSurfaceView+ISKRenderer)
Obsolete.

Set the renderer associated with this view.

Events

PaintSurface

Occurs when the surface needs to be redrawn.

Applies to