pluot-shader-modules
Use when you need to write or modify a WGSL shader.
- License 许可
- Apache-2.0
- 最近更新
- 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
pluot-snappy-troubleshooting
Use when rust build fails due to command did not execute successfully, involving snappy or snappy_src or snappy/snappy.cc
pluot-reference-materials
Use when the user asks you to reference specific code, documentation files, or source repositories of dependencies or related tools.
pluot-memoization
Use when writing layer prepare functions which load data asynchronously or otherwise need to cache or memoize results.
pluot-layer-parameter-principles
Use when adding fields/properties/members to layer parameter structs.
pluot-layer-implementation
Use when implementing layers for Pluot in Rust.
pluot-filter-select-highlight
Use when modifying the filtering, selection, or highlighting logic in Pluot.