mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 06:21:13 +01:00
71a7ffe7b530fd86b618ef597819b844dfeeb075
662: API and examples update for index_format r=kvark a=kejor __Connections__ #608 https://github.com/gfx-rs/wgpu/issues/978 https://github.com/gfx-rs/wgpu/pull/1019 __Description__ Use new API from https://github.com/gfx-rs/wgpu/commit/4513fb2b83fe2cd19682ccca9c55a6995f061699 where `wgpu_render_pass_set_index_buffer` and `wgpu_render_bundle_set_index_buffer` receive an `index_format` and `VertexStateDescriptor`'s `index_format` is an `Option`. The examples were updated accordingly. Co-authored-by: kejor <kevinoviedorueda@gmail.com>
Languages
Rust
78.5%
WGSL
13%
GLSL
3.1%
Metal
2.8%
HLSL
2.3%
Other
0.2%