{"repo":"SecondHalfGames/yakui","free":true,"listed":false,"github":"https://github.com/SecondHalfGames/yakui","clone":"git clone https://github.com/SecondHalfGames/yakui.git","description":"yakui is a declarative Rust UI library for games","language":"Rust","stars":344,"topics":["gamedev","ui","declarative-ui","gui","rust","vulkan","wgpu","winit"],"license":"Apache-2.0","category":"ui-components","readme_excerpt":"yakui yakui is a declarative Rust UI library for games. &nbsp; yakui is a work in progress. Feedback is welcome, but mind the dragons, sharp edges, and exposed nails! yakui combines a layout model inspired by [Flutter] with the ease-of-use of an immediate mode UI library like [Dear Imgui] or [egui]. yakui has the following priorities: 1. Flexibility — yakui must be able to represent any widget 2. Ergonomics — yakui must be terse, but must enable the user to go outside the box 3. Performance — yakui must be fast enough to use in a shipping game yakui being used in the editor for MS80 [Flutter]: https://flutter.dev/ [Dear Imgui]: https://github.com/ocornut/imgui [egui]: https://github.com/emilk/egui Table of Contents Getting Started Examples Rationale Architecture Crates Games Using yakui Name Minimum Supported Rust Version (MSRV) License Getting Started Add the [ yakui ] crate to your project, either from crates.io: ...or by editing your Cargo.toml to use the latest version from GitHub: Create a [ yakui::Yakui ] when your game starts: Call start() , create your UI, then call finish() : Finally, call paint() and feed the result to your renderer: To see your UI, you'll need a renderer crate. You can also write your own renderer for your game. Here are the officially supported renderer crates: - [ yakui-wgpu ] — wgpu renderer - [ yakui-vulkan ] — Vulkan renderer You'll also need to send window and input events to yakui. These are the officially supported windowing library crates:","default_branch":null,"files":null,"tree":[],"storefront":"/r/SecondHalfGames","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SecondHalfGames/yakui/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}