Foliage
is a cross-platform UI written in Rust
. It can target Linux | Windows | MacOS
natively,
Web
via WebAssembly
and Android
(via cargo-ndk
). Capable of running on iOS
but not ported
as of writing. It leverages wgpu.rs
and winit
for native-rendering on (almost) every platform.
Foliage
is the main class to interact with the library.
let mut foliage = Foliage::new();
Configure the class with available options
...TODO
then you can run the system with
// run main-loop
foliage.photosynthesize();
Here is the main overview of how the library initializes
Resize operations
Overview of the interaction process
Render Pipeline