Skip to content

Repository files navigation

Glass

Apache CI

Glass helps you skip annoying wgpu boilerplate, winit boilerplate and window organization. You can just focus on your render or compute pipelines.

Example:

fn main() {
    Glass::run(GlassConfig::default(), |context| {
        // Create window if relevant
        // context.create_window("main", WindowConfig {
        //     width: 1920,
        //     height: 1080,
        //     exit_on_esc: true,
        //     ..WindowConfig::default()
        // });
        Box::new(YourApp)
    })
}

struct YourApp;

impl GlassApp for YourApp {}

See example folder for more.

About

A rendering app to skip annoying winit & wgpu boilerplate enabling clear focus on just gpu pipelines. In addition, makes it easy to integrate with GUIs.

Resources

Stars

22 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages