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
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
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