function getRowPaddingimport { getRowPadding } from "https://deno.land/std@0.217.0/webgpu/row_padding.ts"; getRowPadding(width: number): PaddingCalculates the number of bytes including necessary padding when passing a GPUImageCopyBuffer. Ref: https://en.wikipedia.org/wiki/Data_structure_alignment#Computing_padding ExamplesExample 1 import { getRowPadding } from "https://deno.land/std@0.217.0/webgpu/row_padding.ts"; getRowPadding(2); // { unpadded: 8, padded: 256 } Parameterswidth: numberReturnsPadding