Typegpu

software-mansion-labs/skills/skills/typegpu

作者 software-mansion-labse3f00cdb3494無授權條款291 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫10 天前更新

TypeGPU is type-safe WebGPU in TypeScript. Use whenever the user writes, debugs, or designs TypeGPU code: 'use gpu' shader functions, tgpu.fn, buffers, textures, bind groups, compute and render pipelines, command encoders, render passes, render bundles, vertex layouts, slots, accessors, @typegpu/react hooks (useRoot, useFrame, useUniform), React Native worklet rendering, and any TypeGPU API. Shader logic and CPU-side resources are tightly coupled - handle both sides here even if the user only mentions one (e.g. "how do I write a shader", "how do I create a buffer"). Trigger on any mention of typegpu, tgpu, "use gpu", TypedGPU, or WebGPU code written using TypeGPU's schema API (d.*, tgpu.*, std.*). Do NOT trigger for raw WebGPU (using GPUDevice/GPURenderPipeline directly without tgpu), WGSL-only questions, Three.js, Babylon.js, or WebGL.

僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。

路徑大小類型
references/advanced.md8.1 KBtext/markdown
references/encoders.md4.3 KBtext/markdown
references/matrices.md6.8 KBtext/markdown
references/noise.md5.6 KBtext/markdown
references/pipelines.md13.5 KBtext/markdown
references/react.md5.1 KBtext/markdown
references/sdf.md7 KBtext/markdown
references/setup.md7.7 KBtext/markdown
references/shaders.md18.6 KBtext/markdown
references/std.md4.5 KBtext/markdown
references/textures.md6.8 KBtext/markdown
references/timing.md4.1 KBtext/markdown
references/types.md7.7 KBtext/markdown
SKILL.md21.9 KBtext/markdown

來源與署名

來源:software-mansion-labs/skills位於skills/typegpu提交e3f00cd

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架