SKGLSurfaceView 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.
An implementation of GLSurfaceView that uses the dedicated surface for displaying a hardware-accelerated SKSurface.
public class SKGLSurfaceView : Android.Opengl.GLSurfaceView
- Inheritance
-
SKGLSurfaceView
Constructors
| Name | Description |
|---|---|
| SKGLSurfaceView(Context, IAttributeSet) |
Initializes a new instance of the SKGLSurfaceView class with the specified XML attributes. |
| SKGLSurfaceView(Context) |
Initializes a new instance of the SKGLSurfaceView class. |
Properties
| Name | Description |
|---|---|
| CanvasSize |
Gets the current canvas size. |
| GRContext |
Gets the current GPU context. |
Methods
| Name | Description |
|---|---|
| OnPaintSurface(SKPaintGLSurfaceEventArgs) |
Implement this to draw on the canvas. |
Events
| Name | Description |
|---|---|
| PaintSurface |
Occurs when the surface needs to be redrawn. |