在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:PistonDevelopers/sdl2_window开源软件地址:https://github.com/PistonDevelopers/sdl2_window开源编程语言:Rust 100.0%开源软件介绍:sdl2_windowAn SDL2 back-end for the Piston game engine Maintainers: @TyOverby, @bvssvni, @Coeuvre, @mitchmindtree InstallationTo use this as a dependency, add the following code to your Cargo.toml file: [dependencies.pistoncore-sdl2_window]
git = "https://github.com/PistonDevelopers/sdl2_window" How to create a windowlet mut window: Sdl2Window = WindowSettings::new("SDL Window", (640, 480))
.fullscreen(false)
.vsync(true)
.build()
.unwrap(); See the examples for more ways to create a window. TroubleshootingDependencies |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论