Edit

SKGLView.OnAfterRenderAsync(Boolean) Method

Definition

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.

Applies to