AGENT SKILL

pluot-shader-modules

Use when you need to write or modify a WGSL shader.

License 许可
Apache-2.0
所属仓库
keller-mark/pluot
最近更新
2026-11-04
Stars
★ 31
Forks
3

01 前言 Front Matter

name
pluot-shader-modules
description
Use when you need to write or modify a WGSL shader.

03 SKILL.md 正文

In Pluot, we use a lightweight shader module system (ShaderBuilder) defined in crates/pluot_core/src/shader_modules.rs. Prefer using or extending ShaderBuilder, rather than performing direct string manipulation (e.g., concatenation or replacement). Using ShaderBuilder is cleaner, and facilitates snapshot-based unit testing of the final generated WGSL strings.

04 同仓库更多 Skills