#glutin #window #piston

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

#1038 in Game dev

Download history 5273/week @ 2023-10-31 6686/week @ 2023-11-07 4815/week @ 2023-11-14 5966/week @ 2023-11-21 4588/week @ 2023-11-28 3724/week @ 2023-12-05 5540/week @ 2023-12-12 5771/week @ 2023-12-19 4787/week @ 2023-12-26 3418/week @ 2024-01-02 5830/week @ 2024-01-09 5284/week @ 2024-01-16 4120/week @ 2024-01-23 3812/week @ 2024-01-30 4978/week @ 2024-02-06 5015/week @ 2024-02-13

18,925 downloads per month
Used in 49 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