import * as mod from "https://dotland.deno.dev/std@0.215.0/webgpu/mod.ts"; Utilities for interacting with the WebGPU API. 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 {@link GPUTexture} with data. fdescribeTextureFormatGet various information about a specific {@link GPUTextureFormat}. fgetRowPaddingCalculates the number of bytes including necessary padding when passing a {@link 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.