SKGLLayer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A CoreAnimation OpenGL layer that can be drawn on using SkiaSharp drawing commands.
public class SKGLLayer : CoreAnimation.CAEAGLLayer
- Inheritance
-
SKGLLayer
Constructors
SKGLLayer() |
Default constructor that initializes a new instance of SKGLLayer. |
Properties
CanvasSize |
Gets the current canvas size. |
Frame |
Gets or sets the layer's frame rectangle. |
GRContext |
Gets the current GPU context. |
SKDelegate |
Obsolete.
Gets or sets the layer's delegate object. |
Methods
Dispose(Boolean) |
Releases the unmanaged resources used by the SKGLLayer and optionally releases the managed resources. |
DrawInSurface(SKSurface, GRBackendRenderTargetDesc) |
Obsolete.
Implement this to draw on the canvas. |
OnPaintSurface(SKPaintGLSurfaceEventArgs) |
Implement this to draw on the canvas. |
Render() |
Redraws the layer's contents. |
Events
PaintSurface |
Occurs when the the canvas needs to be redrawn. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for