Table of Contents

Method OnResize

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

OnResize(EventArgs)

Called when this window is resized.

protected override void OnResize(EventArgs e)

Parameters

e EventArgs

Not used.

Remarks

You will typically wish to update your viewport whenever the window is resized. See the Viewport(int, int, int, int) method.