Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在全屏和窗口模式之间切换。有没有办法在不重新启动整个游戏的情况下做到这一点?
我建议在您的窗口上调用 create 方法(C++,但我确信它也适用于 C#):
yourWindow->create(sf::VideoMode::getDesktopMode(), "Title", sf::Style::Fullscreen);