Fix link to GPUVertexBufferLayout

Fixes #3342.
This commit is contained in:
Fredrik Fornwall authored and Josh Groves committed 2023-07-05 20:08:22 -02:30
1 parent 1c43272d2a
commit 234dea18c4
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -63,6 +63,7 @@ Bottom level categories:
### Documentation
- Better documentation for draw, draw_indexed, set_viewport and set_scissor_rect. By @genusistimelord in [#3860](https://github.com/gfx-rs/wgpu/pull/3860)
- Fix link to `GPUVertexBufferLayout`. By @fornwall in [#3906](https://github.com/gfx-rs/wgpu/pull/3906)
#### General
+1 -1
View File
@@ -1351,7 +1351,7 @@ static_assertions::assert_impl_all!(RenderPassDescriptor: Send, Sync);
/// For use in [`VertexState`].
///
/// Corresponds to [WebGPU `GPUVertexBufferLayout`](
/// https://gpuweb.github.io/gpuweb/#dictdef-gpurenderpassdescriptor).
/// https://gpuweb.github.io/gpuweb/#dictdef-gpuvertexbufferlayout).
#[derive(Clone, Debug, Hash, Eq, PartialEq)]
pub struct VertexBufferLayout<'a> {
/// The stride, in bytes, between elements of this buffer.