note SetWindowSize
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
ec67576576
commit
f17c6db590
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue