Commit fa74d27
committed
feat: "Learn gfx-hal" chapters 1, 2 & 3
This implements the first three chapters of the "Learn gfx-hal" tutorial[0].
Some take-aways:
- `gfx-hal` is low-level, requiring lots of boilerplate code. It will be
interesting to see the difference once we start migrating the code to
the `Rendy`[1] crate.
- Lots of unsafe code required.
- The `winit`[2] crate is reasonably heavy, providing platform support that
isn't relevant to the game (at least not yet).
- Both crates are still young, lots of moving targets.
[0]: https://lokathor.github.io/learn-gfx-hal
[1]: https://github.com/rustgd/rendy
[2]: https://github.com/rust-windowing/winit1 parent 71dea7f commit fa74d27
4 files changed
Lines changed: 1628 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments