From e9b5021217f339c3020c973856fc5263ecca1ea6 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sat, 30 Dec 2023 22:07:38 -0800 Subject: [PATCH] edit comment --- src/buffer-views.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buffer-views.ts b/src/buffer-views.ts index e5573ae..2ad0f07 100644 --- a/src/buffer-views.ts +++ b/src/buffer-views.ts @@ -613,7 +613,6 @@ function getSizeAndAlignmentOfUnsizedArrayElementOfTypeDef(typeDef: TypeDefiniti * * Generally you only need size. Example: * - * * ```js * const code = ` * struct Foo { @@ -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. */