magma_winit

Crates.iomagma_winit
lib.rsmagma_winit
version0.1.0-alpha.9
created_at2023-12-06 21:45:21.455475+00
updated_at2025-08-21 19:18:56.546412+00
descriptionPart of the Magma-API, which is the API of the Magma3D game engine. A winit windowing and input backend implementation.
homepagehttps://dynamicgoose.github.io/magma3d-engine/
repositoryhttps://codeberg.org/DynamicGoose/magma-api
max_upload_size
id1060448
size176,374
Géza Ahsendorf (DynamicGoose)

documentation

README

magma_winit

This crate provides backends for magma_windowing as well as magma_input.

Features

  • windowing backend
  • input backend

Usage

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"

Example (with magma_api)

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();
}

Cargo Features

currently no features

Disclaimer

This crate is not production ready.

Commit count: 0

cargo fmt