@ende/webgpu/row-padding
ende add jsr:@ende/webgpuVersion 2026.10.15 on JSR.
Exports
BYTES_PER_PIXEL— Number of bytes per pixel.COPY_BYTES_PER_ROW_ALIGNMENT— Buffer-Texture copies must have [`bytes_per_row`] aligned to this number.getRowPadding— Calculates the number of bytes including necessary padding when passing a GPUImageCopyBuffer.Padding— Return value for getRowPadding.resliceBufferWithPadding— Creates a new buffer while removing any unnecessary empty bytes. Useful for when wanting to save an image as a specific format.