Files
wgpu/examples/hello-triangle
Manuel Gil e00ef5d584 Expose get_swap_chain_preferred_format on Device
- Update examples to make use of the new method
2021-01-03 17:35:04 +00:00
..
2020-04-26 18:59:48 -02:30
2020-04-26 18:59:48 -02:30

hello-triangle

This example renders a triangle to a window.

To Run

cargo run --example hello-triangle

Screenshots

Triangle window