#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

#988 in Graphics APIs

Download history 6204/week @ 2024-08-12 3497/week @ 2024-08-19 4084/week @ 2024-08-26 4029/week @ 2024-09-02 3742/week @ 2024-09-09 3205/week @ 2024-09-16 4575/week @ 2024-09-23 3549/week @ 2024-09-30 417/week @ 2024-10-07 3012/week @ 2024-10-14 3038/week @ 2024-10-21 3743/week @ 2024-10-28 3044/week @ 2024-11-04 1246/week @ 2024-11-11 2071/week @ 2024-11-18 3768/week @ 2024-11-25

10,548 downloads per month
Used in 49 crates (24 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–16MB
~174K SLoC