Webgpu Syntax Canvas Context

Use when configuring a WebGPU canvas, presenting rendered frames, or handling canvas resize. Prevents the black-canvas bug from caching getCurrentTexture and the blurry-upscale bug from CSS-only sizing. Covers getContext webgpu, GPUCanvasConfiguration, configure, getCurrentTexture, alphaMode, getPreferredCanvasFormat, and the ResizeObserver resize pattern. Keywords: getContext webgpu, GPUCanvasContext, configure, getCurrentTexture, getPreferredCanvasFormat, alphaMode, canvas resize, black canvas, blurry canvas, nothing renders, how do I show WebGPU output on a canvas.

Impertio-Studio Updated 203 repo stars
35 Deterministic Skills for WebGPU

File contents

impertio-studio/webgpu-claude-skill-package commit 63bc856872

Frequently asked questions

npx get-skill add impertio-studio/webgpu-syntax-canvas-context