Skip to content

Commit

Permalink
Update wgpu/src/api/blas.rs with better docs
Browse files Browse the repository at this point in the history
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
  • Loading branch information
Vecvec and cwfitzgerald authored Jan 8, 2025
1 parent fab1717 commit 67c4413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu/src/api/blas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u32>,
/// Transform buffer containing 3x4 (rows x columns, row major) affine transform matrices `[f32; 12]` (optional).
pub transform_buffer: Option<&'a Buffer>,
Expand Down

0 comments on commit 67c4413

Please sign in to comment.