Skip to content

eblack-leaf/foliage

Repository files navigation

Foliage

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.

Overview

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();

Architecture

Here is the main overview of how the library initializes

arch

Event Category

Resize

Resize operations

resize

Input + Interaction

Overview of the interaction process

interaction

Redraw

Render Pipeline

render-pipeline

About

cross-platform ui with wgpu.rs and winit

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages