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

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

#278 in #part


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

~25–45MB
~772K SLoC