#ui #engine #magma3-d #magma-api #part #game-engine #responsable

magma_ui

Part of the Magma-API, which is the API of the Magma3D game engine. This is responsable for UI.

2 releases

0.1.0-alpha.2 Dec 18, 2023
0.1.0-alpha.1 Dec 16, 2023

#1954 in Game dev

32 downloads per month
Used in magma_api

MIT license

15KB
196 lines

magma_ui

Adds support for creating ui to the Magma3D engine. Also reexports the iced and iced_winit crates as default options.


lib.rs:

This crate provides the UIModule, which can be added to your application along with an update_ui-system, which you must implement yourself. For ease of use the crate also reexports iced and iced_winit. The UIModule also adds the WinitModule to your App, so you can draw your application to a window. When using this with iced, make sure to read the iced_winit documentation for e.g. converting winit windows to iced windows.

Dependencies

~21–39MB
~650K SLoC