pistoncore-glutin_window

Crates.iopistoncore-glutin_window
lib.rspistoncore-glutin_window
version0.72.0
sourcesrc
created_at2015-04-20 12:19:44.832825
updated_at2023-09-26 05:08:22.330367
descriptionA Piston window back-end using the Glutin library
homepagehttps://github.com/pistondevelopers/glutin_window
repositoryhttps://github.com/pistondevelopers/glutin_window.git
max_upload_size
id1904
size126,961
publish (github:pistondevelopers:publish)

documentation

README

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

Commit count: 330

cargo fmt