Files
wgpu/examples/src/hello_triangle
Benjamin Frye 3918a09a4b fix: Read environment variable configs in hello_triangle example (#6698)
* fix: Read environment variable configs in hello_triangle example

* refactor: Add util method for creating entire instance descriptor from env

* fix: Fix clippy error/warning about "unneeded `return` statement"
2024-12-12 19:58:23 -05:00
..
2023-11-25 22:59:40 +00:00

hello_triangle

This example renders a triangle to a window.

To Run

cargo run --bin wgpu-examples hello_triangle

Screenshots

Triangle window