Crates.io | pistoncore-glutin_window |
lib.rs | pistoncore-glutin_window |
version | 0.72.0 |
source | src |
created_at | 2015-04-20 12:19:44.832825 |
updated_at | 2023-09-26 05:08:22.330367 |
description | A Piston window back-end using the Glutin library |
homepage | https://github.com/pistondevelopers/glutin_window |
repository | https://github.com/pistondevelopers/glutin_window.git |
max_upload_size | |
id | 1904 |
size | 126,961 |
A glutin back-end for the Piston game engine
To use this as a dependency, add the following code to your Cargo.toml file:
[dependencies.pistoncore-glutin_window]
git = "https://github.com/PistonDevelopers/glutin_window"
let mut window: GlutinWindow = WindowSettings::new("Glutin Window", (640, 480))
.fullscreen(false)
.vsync(true)
.build()
.unwrap();
See the examples for more ways to create a window.