SKGLView Class

Definition

A hardware-accelerated view that can be drawn on using SkiaSharp drawing commands.

[Foundation.Register("SKGLView")]
public class SKGLView : GLKit.GLKView, GLKit.IGLKViewDelegate, IDisposable, System.ComponentModel.IComponent
Inheritance
SKGLView
Attributes
Implements

Constructors

SKGLView()

Default constructor that initializes a new instance of SKGLView.

SKGLView(CGRect)

Initializes the SKGLView with the specified frame.

SKGLView(IntPtr)

A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Properties

CanvasSize

Gets the current canvas size.

Frame

Gets or sets the view's frame rectangle.

GRContext

Gets the current GPU context.

Methods

AwakeFromNib()

Called after the object has been loaded from the nib file. Overriders must call the base method.

DrawInRect(GLKView, CGRect)

Draws the view within the passed-in rectangle.

DrawInSurface(SKSurface, GRBackendRenderTargetDesc)
Obsolete.

Implement this to draw on the canvas.

OnPaintSurface(SKPaintGLSurfaceEventArgs)

Implement this to draw on the canvas.

Events

PaintSurface

Occurs when the surface needs to be redrawn.

Applies to