Files
wgpu/examples/features/src/ray_traced_triangle
Teodor Tanasoaia e114d2f0a7 Add support for gaps in bind group layouts & update relevant validation (#9034)
* [wgpu-core] add support for optional BG & BGL entries

* [wgpu] allow gaps in bind group layouts

And allow unbinding in the web backend.

* adapt tests

* add changelog entry

* [wgpu] remove generic from `PipelineLayoutDescriptor`
2026-02-25 19:47:36 +01:00
..
2025-01-20 18:07:22 -05:00
2025-01-20 18:07:22 -05:00

ray-traced-triangle

This example renders three triangles with hardware acceleration. This is the same scene set-up as hal ray-traced triangle

To Run

cargo run --bin wgpu-examples ray_traced_triangle

Screenshots

Triangle example