- Software Mansion ships TypeGPU 0.11 — a performance-focused release with zero-allocation buffer writes, a fresh ESLint plugin, richer WGSL codegen, and a from-scratch Unplugin v3 bundler.
- Write WebGPU shaders in TypeScript without paying the overhead tax.
TL;DR
TypeGPU 0.11, the type-safe WebGPU toolkit from Software Mansion, lands with three headline wins: zero-allocation buffer write APIs, a batch of compile-time and codegen improvements, and a complete rewrite of the bundler plugin on Unplugin v3. Add a new eslint-plugin-typegpu, three new examples (Genetic Racing, Mesh Skinning, Parallax Occlusion Mapping), and a pile of stability fixes — and this becomes one of the most practical releases on the road to 1.0.
What's new
- Efficient buffer write APIs — write arrays of vectors without constructing intermediate vector instances. Pass tuples (
[[0, 1, 2], [3, 4, 5]]) or aFloat32Arraydirectly. A tiered API lets you pick the right convenience-vs-speed trade-off per call site. - eslint-plugin-typegpu — a new linter that catches shader-authoring bugs the type system alone can't see. Works with ESLint and Oxlint.
- Bundler plugin rewrite —
unplugin-typegpuwas completely rewritten on top of Unplugin v3, covering Vite, Webpack, Rollup, esbuild and more with one package. - Three new examples — Genetic Racing, Mesh Skinning, and Parallax Occlusion Mapping show off the new codegen features in real workloads.
Why it matters
If you've ever uploaded vertex or particle data to the GPU every frame, you know the cost of allocating throwaway vector objects on the hot path. TypeGPU 0.11 lets you skip that entirely — feed a Float32Array straight into a buffer write and you're done. That's not a micro-optimisation; it's the difference between a sim that janks and a sim that doesn't, and it removes one of the main reasons teams used to drop down to raw WebGPU for the hot path.
The codegen upgrades are equally pragmatic: short-circuit evaluation, bit operations on vectors, and nested if/else dedenting mean the generated WGSL is smaller and closer to what you'd write by hand. Less GPU code shipped, fewer compiler surprises, and easier debugging when something does go sideways. Pair that with the new ESLint plugin and you get a much shorter feedback loop — mistakes surface in the editor instead of as a silent visual glitch at runtime. For teams shipping WebGPU in production, that shift alone is worth the upgrade.
Technical facts
| Area | What ships in 0.11 |
|---|---|
| Buffer writes | Accept tuples / Float32Array; no intermediate vectors |
| Codegen | Bit ops on vectors · short-circuit &&/|| · unary ! · std.not · std.range() · std.textureSampleGrad · nested if/else dedenting |
| Bundler | Full rewrite on Unplugin v3 (Vite, Webpack, Rollup, esbuild) |
| Linting | New eslint-plugin-typegpu (ESLint & Oxlint) |
| Stability | tgpu.const refs allowed as arguments · implicit pointer deref fixed in shell-less entry functions · @typegpu/* libraries migrated to tsover |
| Examples | Genetic Racing · Mesh Skinning · Parallax Occlusion Mapping |
| Contributors | 6 this release |
Comparison
Earlier TypeGPU releases focused on expanding what you could express in TypeScript — more WGSL features mirrored, more type inference coverage. 0.11 flips that priority: it makes what already works run faster and compile cleaner. If 0.10 was about surface area, 0.11 is about throughput and output quality.
Versus vanilla WebGPU, you keep the wins you already had (TypeScript, type inference, incremental adoption) and now pay less overhead on data upload. Versus other WGSL-from-JS tools, the Unplugin v3 rewrite keeps TypeGPU alone in offering turnkey support across every major bundler from one package.
Use cases
- Browser games & sims — Mesh Skinning and Genetic Racing examples show animation and compute workloads benefiting directly from the new write APIs.
- 3D effects — Parallax Occlusion Mapping demonstrates
textureSampleGradin action, an effect that was previously painful to wire up by hand. - Incremental WebGPU adoption — modular APIs mean you can drop TypeGPU into parts of an existing WebGPU app without rewriting the world.
- Team codebases — the new ESLint plugin is a quiet but big deal: shader bugs that previously only surfaced at runtime now show up in CI.
Limitations & pricing
- Free and open source — no pricing.
- WebGPU still requires a modern browser (Chrome/Edge default, Safari 26+, Firefox behind a flag).
- Pre-1.0 — APIs may still shift before a stable milestone, so pin versions.
- The new ESLint plugin ships with an initial rule set; coverage will grow over time.
What's next
The 0.11 release is clearly a stepping stone toward 1.0, with a theme of performance and DX polish. Expect the linter rule set to grow, more examples covering advanced techniques, and continued WGSL parity work. If you were holding off on TypeGPU for performance reasons, this is the release that changes the math.
Sources: GitHub Releases, TypeGPU Docs, Software Mansion announcement.

