#glutin #window #piston

pistoncore-glutin_window

A Piston window back-end using the Glutin library

89 releases (breaking)

Uses old Rust 2015

0.68.0 Jan 12, 2021
0.67.2 Dec 14, 2020
0.67.1 Nov 25, 2020
0.65.0 Jul 18, 2020
0.8.0 Jul 31, 2015

#267 in Game dev

Download history 2351/week @ 2020-10-08 2228/week @ 2020-10-15 2038/week @ 2020-10-22 2432/week @ 2020-10-29 2501/week @ 2020-11-05 2543/week @ 2020-11-12 2613/week @ 2020-11-19 2047/week @ 2020-11-26 2608/week @ 2020-12-03 2565/week @ 2020-12-10 1057/week @ 2020-12-17 864/week @ 2020-12-24 2194/week @ 2020-12-31 2889/week @ 2021-01-07 2739/week @ 2021-01-14 2827/week @ 2021-01-21

9,397 downloads per month
Used in 40 crates (14 directly)

MIT license

66KB
675 lines

glutin_window Build Status Crates.io Crates.io

A glutin back-end for the Piston game engine

How to contribute

Installation

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"

How to create a 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.

Dependencies

dependencies

Dependencies

~2.4–4MB
~88K SLoC