export interface GPUContext { device: GPUDevice; context: GPUCanvasContext; format: GPUTextureFormat; depthTexture: GPUTexture; msaaTexture: GPUTexture; hdrTexture: GPUTexture; canvas: HTMLCanvasElement; } /** Resize canvas pixel buffer to match CSS display size. Recreates all render targets. */ export declare function resizeGPU(gpu: GPUContext): void; export declare function initWebGPU(canvas: HTMLCanvasElement): Promise; //# sourceMappingURL=webgpu-device.d.ts.map