Crates.io | magma_winit |
lib.rs | magma_winit |
version | 0.1.0-alpha.9 |
created_at | 2023-12-06 21:45:21.455475+00 |
updated_at | 2025-08-21 19:18:56.546412+00 |
description | Part of the Magma-API, which is the API of the Magma3D game engine. A winit windowing and input backend implementation. |
homepage | https://dynamicgoose.github.io/magma3d-engine/ |
repository | https://codeberg.org/DynamicGoose/magma-api |
max_upload_size | |
id | 1060448 |
size | 176,374 |
This crate provides backends for magma_windowing as well as magma_input.
This crate should be used together with the rest of the magma_api.
Add this to your Cargo.toml
:
[dependencies]
magma_winit = "0.1.0-alpha.9"
use magma_api::App;
use magma_api::magma_winit::WinitModule;
fn main() {
let mut app = App::new();
// Add the module (also adds InputModule and WindowingModule automatically)
app.add_module(WinitModule);
// run the app
app.run();
}
currently no features
This crate is not production ready.