Skip to content

agreenweb/Plinth-Core

 
 

Repository files navigation

Plinth Core

This crate is part of my Plinth stack (See example at Plinth-Hello-World.)

This is a fork of Foxicution's (wgpu-template)(https://github.com/Foxicution/wgpu-template).

What I've added is a couple traits called PlinthApp and PlinthRendere with a bunch of functions that the template app now calls at the appropriate times.

This allows you to create your own struct that implements PlinthApp and write code that gets executed during init or when events fire or during rendering without having to look at the complex setup code.

Just a nice abstraction that allows me to reuse the same setup without having to pollute each project with the messy winit + wgpu setup code.

About

A template repository to get started with WGPU (24.0.1)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 67.9%
  • HTML 22.0%
  • Python 4.9%
  • WGSL 2.7%
  • Shell 2.1%
  • Nix 0.4%