sdl2_window
An SDL2 back-end for the Piston game engine
Maintainers: @TyOverby, @bvssvni, @Coeuvre, @mitchmindtree
Installation
To use this as a dependency, add the following code to your Cargo.toml file:
= "https://github.com/PistonDevelopers/sdl2_window"
git
How to create a window
let mut window: Sdl2Window = new
.fullscreen
.vsync
.build
.unwrap;
See the examples for more ways to create a window.