vgpu Docs
Build WebGPU applications for browsers, Node.js, and automated workflows.
vgpu is a TypeScript library for building WebGPU applications with one composable API. Write modular WGSL once, then use the same shaders for interactive canvases, headless rendering, images, video, and automated tests.
How to use these docs
- Get started — install vgpu and render your first frame.
- Learn the concepts — understand GPUs, targets, frames, effects, and adapters.
- Explore the examples — see live WebGPU demos and inspect their source.
- Explore the guides — solve specific problems involving integrations, performance, testing, and shader authoring.
- Browse the API reference — look up packages, types, and functions.
Using a coding agent? Run npx vgpu to give it access to the docs, verified examples, validation tools, and runtime diagnostics.