Files
wgpu/wgpu/examples/hello-triangle
Connor Fitzgeraldandbjorn3 ea05b44f38 Improve Presentation Api (#2803)
* Add new presentation modes

* Expand presentation formats

* Add Surface::get_supported_modes

* Update to rust 2021 and improve some metal surface code

* Update wgpu-types/src/lib.rs

Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>

* Fix windows build errors

* Fix issues with ALLOW_TEARING

Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
2022-06-30 14:24:17 -04:00
..
2022-06-30 14:24:17 -04:00
2020-04-26 18:59:48 -02:30
2022-04-15 22:22:48 +03:00

hello-triangle

This example renders a triangle to a window.

To Run

cargo run --example hello-triangle

Screenshots

Triangle window