Crates.io | bevy_glfw |
lib.rs | bevy_glfw |
version | 0.1.1 |
source | src |
created_at | 2022-11-07 23:12:10.235454 |
updated_at | 2022-11-12 20:16:00.646119 |
description | GLFW window backend for Bevy |
homepage | |
repository | https://github.com/Friz64/bevy_glfw |
max_upload_size | |
id | 707538 |
size | 126,622 |
bevy_glfw
GLFW window backend for Bevy
Cargo.toml
bevy = {
version = "...",
default-features = false, // <- Important
features = [
// Only required features!
// Notably *not*:
// - "bevy_winit"
// - "x11" (also enables winit)
// - "wayland" (also enables winit)
]
}
main.rs
use bevy::prelude::*;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugin(bevy_glfw::GlfwPlugin) // <- Add the plugin as usual
.run();
}
Introducing a proper stop-gap solution until winit#1806 is completed and released.
bevy | bevy_glfw |
---|---|
0.8 | 0.1 |
bevy_glfw
is free, open source and permissively licensed!
Except where noted (below and/or in individual files), all code in this repository is dual-licensed under either:
at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.