#glutin #window #piston

pistoncore-glutin_window

A Piston window back-end using the Glutin library

86 releases (breaking)

Uses old Rust 2015

0.67.0 Oct 8, 2020
0.65.0 Jul 18, 2020
0.63.0 Jul 8, 2019
0.54.0 Feb 7, 2019
0.8.0 Jul 31, 2015

#270 in Game dev

Download history 868/week @ 2020-06-30 721/week @ 2020-07-07 982/week @ 2020-07-14 819/week @ 2020-07-21 855/week @ 2020-07-28 775/week @ 2020-08-04 2579/week @ 2020-08-11 2650/week @ 2020-08-18 2879/week @ 2020-08-25 2510/week @ 2020-09-01 2248/week @ 2020-09-08 2386/week @ 2020-09-15 1836/week @ 2020-09-22 2280/week @ 2020-09-29 2610/week @ 2020-10-06 2039/week @ 2020-10-13

8,013 downloads per month
Used in 40 crates (14 directly)

MIT license

64KB
591 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.6–4MB
~86K SLoC