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.
APACHE-2.0 License
Glass
aims to do just that. Resulting in very readable code flow for your app. Its main purposes are to allow you
to skip annoying wgpu boilerplate, winit boilerplate and window organization. You can just focus on your
render or compute pipelines and organize your app how you like.
Example:
fn main() {
Glass::run(GlassConfig::default(), |_| Box::new(YourApp))
}
// Organize your app in anyway you like
struct YourApp;
// Implement methods that you need (to render or read inputs)
impl GlassApp for YourApp {}
See example
folder for more.