note SetWindowSize
continuous-integration/drone/push Build is passing Details

main
cosmonaut 2021-03-17 12:40:36 -07:00
parent ec67576576
commit f17c6db590
1 changed files with 6 additions and 0 deletions

View File

@ -19,4 +19,10 @@ You can change the screen mode at runtime with the `ChangeScreenMode` method:
Window.ChangeScreenMode(ScreenMode.Fullscreen);
```
You can change the window size at runtime with the `SetWindowSize` method.
```cs
Window.SetWindowSize(1280, 720);
```
Note that if you change the screen resolution, it is *your* responsibility to manage any graphics state that may need to change as a result of this change.