magma_windowing

Crates.iomagma_windowing
lib.rsmagma_windowing
version0.1.0-alpha.3
created_at2025-06-04 22:44:11.071863+00
updated_at2025-08-21 18:38:06.422707+00
descriptionPart of the Magma-API, which is the API of the Magma3D game engine. This is responsable for handling windows.
homepagehttps://dynamicgoose.github.io/magma3d-engine/
repositoryhttps://codeberg.com/DynamicGoose/magma-api
max_upload_size
id1700940
size44,756
Géza Ahsendorf (DynamicGoose)

documentation

README

Magma-Windowing

Provides platform agnostic representations for windows and monitors for the magma_api.

Features

  • ecs representation for OS windows
  • ecs representation for monitors
  • window events

Usage

This crate should be used together with the rest of the magma_api.

Add this to your Cargo.toml:

[dependencies]
magma_windowing = "0.1.0-alpha.3"

Example (with magma_api)

use magma_api::App;
use magma_api::magma_windowing::WindowingModule;

fn main() {
    let mut app = App::new();
    // Add the module
    app.add_module(WindowingModule);
    // run the app
    app.run();
}

Note that the WindowingModule alone only provides the interface for window management. The backend is implemented in magma_winit.

Cargo Features

currently no features

Disclaimer

This crate is not production ready.

Commit count: 0

cargo fmt