https://github.com/hakolao/glass
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.
https://github.com/hakolao/glass
Last synced: 4 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/hakolao/glass
- Owner: hakolao
- License: apache-2.0
- Created: 2023-01-11T18:32:09.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-06-04T10:57:47.000Z (4 months ago)
- Last Synced: 2025-06-13T06:03:34.690Z (4 months ago)
- Language: Rust
- Homepage:
- Size: 282 KB
- Stars: 21
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Glass

- Don't you wish you could just read your app's flow like prose?
- Don't you wish you could just focus on _wgpu_ pipelines without any wrapping around their types?
- Don't you wish you could just access the winit event directly from the event loop without any wrapper types?`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:
```rust
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.
# For whom
- People who want to learn rendering
- People annoyed at complexities of game engines, and wanting to have more control over their app
- People who wish to go back to the roots of coding (simplicity, and no magic)