SKSwapChainPanel.OnRenderFrame(Rect) Method
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.
Called when a frame should be rendered.
protected override void OnRenderFrame(Windows.Foundation.Rect rect);
Parameters
- rect
- Rect
The rectangle defining the render area dimensions.
Remarks
This method creates the SkiaSharp context and surface, then invokes OnPaintSurface(SKPaintGLSurfaceEventArgs) to perform the actual drawing.