Skip to content

Commit

Permalink
edit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Dec 31, 2023
1 parent e6e72bb commit e9b5021
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/buffer-views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,6 @@ function getSizeAndAlignmentOfUnsizedArrayElementOfTypeDef(typeDef: TypeDefiniti
*
* Generally you only need size. Example:
*
*
* ```js
* const code = `
* struct Foo {
Expand All @@ -629,7 +628,8 @@ function getSizeAndAlignmentOfUnsizedArrayElementOfTypeDef(typeDef: TypeDefiniti
* defs.storages.f,
* new ArrayBuffer(defs.storages.f.size + size * numElements));
* ```
* @param varDef A variable definition provided by @link {makeShaderDataDefinitions}
*
* @param varDef A variable definition provided by @link {makeShaderDataDefinitions}
* @returns the size, align, and unalignedSize in bytes of the unsized array element in this type definition.
* If there is no unsized array, size = 0.
*/
Expand Down

0 comments on commit e9b5021

Please sign in to comment.