#glutin #piston #window #piston-game-engine #game-engine

pistoncore-glutin_window

A Piston window back-end using the Glutin library

96 releases (breaking)

Uses old Rust 2015

0.72.0 Sep 26, 2023
0.71.0 Feb 25, 2023
0.70.1 May 13, 2022
0.69.0 Apr 17, 2021
0.8.0 Jul 31, 2015

#680 in Game dev

Download history 4096/week @ 2023-12-15 3039/week @ 2023-12-22 1649/week @ 2023-12-29 3244/week @ 2024-01-05 3744/week @ 2024-01-12 3306/week @ 2024-01-19 2664/week @ 2024-01-26 1489/week @ 2024-02-02 3657/week @ 2024-02-09 4055/week @ 2024-02-16 3532/week @ 2024-02-23 3882/week @ 2024-03-01 5182/week @ 2024-03-08 4127/week @ 2024-03-15 4956/week @ 2024-03-22 4907/week @ 2024-03-29

19,727 downloads per month
Used in 48 crates (23 directly)

MIT license

68KB
740 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

~3–17MB
~188K SLoC