📜  如何在 monogame 中为窗口设置自定义大小 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:17.344000             🧑  作者: Mango

代码示例1
graphics.PreferredBackBufferWidth = WIDTH;  // set this value to the desired width of your window
graphics.PreferredBackBufferHeight = HEIGHT;   // set this value to the desired height of your window
graphics.ApplyChanges();