Files
wgpu/examples/src/render_to_texture
matt riceandAndreas Reich b731495e05 Fix output args for render_to_texture example (#5338)
* Fix output args for render_to_texture example

* Fix output args for storage_texture example

* Fix dashes to underscore in example names.

---------

Co-authored-by: Andreas Reich <r_andreas2@web.de>
2024-03-09 10:04:38 +00:00
..
2023-11-25 22:59:40 +00:00

render_to_texture

Similar to hello-triangle but instead of rendering to a window or canvas, renders to a texture that is then output as an image like the storage-texture example.

If all goes well, the end result should look familiarly like hello-triangle with its red triangle on a green background.

To Run

cargo run --bin wgpu-examples render_to_texture