SKGLView.OnAfterRenderAsync(Boolean) 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 after the component has rendered.
protected override System.Threading.Tasks.Task OnAfterRenderAsync(bool firstRender);
Parameters
- firstRender
- Boolean
true if this is the first time the component has been rendered; otherwise, false.
Returns
A task representing the asynchronous operation.
Remarks
On first render, this method initializes the WebGL context, creates the GPU context and surface, and sets up DPI and size change watchers.