import * as mod from "https://dotland.deno.dev/std@0.213.0/webgpu/mod.ts"; VariablesvBYTES_PER_PIXELNumber of bytes per pixel. vCOPY_BYTES_PER_ROW_ALIGNMENTBuffer-Texture copies must have [bytes_per_row] aligned to this number. FunctionsfcreateCaptureCreates a texture and buffer to use as a capture. fcreateTextureWithDataCreate a GPUTexture with data. fdescribeTextureFormatGet various information about a specific GPUTextureFormat. fgetRowPaddingCalculates the number of bytes including necessary padding when passing a GPUImageCopyBuffer. fresliceBufferWithPaddingCreates a new buffer while removing any unnecessary empty bytes. Useful for when wanting to save an image as a specific format. InterfacesICreateCaptureReturn value for createCapture. IPaddingReturn value for getRowPadding. ITextureFormatInfoReturn type for describeTextureFormat.