Skip to content

Commit fa74d27

Browse files
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/winit
1 parent 71dea7f commit fa74d27

4 files changed

Lines changed: 1628 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

0 commit comments

Comments
 (0)