From 67c4413b5c54df9788a870a80b2e81ed18dc0940 Mon Sep 17 00:00:00 2001 From: Vecvec <130132884+Vecvec@users.noreply.github.com> Date: Wed, 8 Jan 2025 07:45:42 +0000 Subject: [PATCH] Update wgpu/src/api/blas.rs with better docs Co-authored-by: Connor Fitzgerald --- wgpu/src/api/blas.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu/src/api/blas.rs b/wgpu/src/api/blas.rs index de05ec9c4f..2d385af808 100644 --- a/wgpu/src/api/blas.rs +++ b/wgpu/src/api/blas.rs @@ -102,7 +102,7 @@ pub struct BlasTriangleGeometry<'a> { pub vertex_stride: wgt::BufferAddress, /// Index buffer (optional). pub index_buffer: Option<&'a Buffer>, - /// Index buffer offset as a factor of the size of the index type (optional, required if index buffer is present). + /// Number of indexes to skip in the index buffer (optional, required if index buffer is present). pub first_index: Option, /// Transform buffer containing 3x4 (rows x columns, row major) affine transform matrices `[f32; 12]` (optional). pub transform_buffer: Option<&'a Buffer>,