AGENT SKILL
Pluot Rust 图层实现
pluot-layer-implementation
当使用 Rust 为 Pluot 实现图层时使用。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-04
- Stars
- ★ 31
- Forks
- 3
01 前言 Front Matter
- name
- pluot-layer-implementation
- description
- Use when implementing layers for Pluot in Rust.
03 SKILL.md 正文
- Avoid iterating over data arrays when plotting via the GPU. Upload as textures and perform logic such as filtering, coloring, sizing via WGSL on the GPU. Minimize GPU passes when possible.
- Avoid casting data arrays that have been loaded via zarr - preserve the original dtype by using NumericData unless you need to do a full pass over the data to transform it in some way. Implementing or using accessors which index into a large array and cast individual elements is a form of casting and therefore such workarounds should also be avoided.
04 同仓库更多 Skills
Snappy Rust 构建故障排查
pluot-snappy-troubleshooting
当 Rust 构建因命令未成功执行而失败时使用,涉及 snappy、snappy_src 或 snappy/snappy.cc。
★ 31
WGSL 着色器模块开发
pluot-shader-modules
当您需要编写或修改 WGSL 着色器时使用。
★ 31
Pluot 开发参考资料检索
pluot-reference-materials
当用户要求您引用特定的代码、文档文件,或依赖项及相关工具的源代码仓库时使用。
★ 31
Pluot 层数据缓存与记忆化
pluot-memoization
在编写层准备函数时使用,这些函数异步加载数据或以其他方式需要缓存或记忆化结果。
★ 31
Pluot 图层参数字段设计
pluot-layer-parameter-principles
当向图层参数结构体添加字段/属性/成员时使用。
★ 31
Pluot 过滤选择高亮
pluot-filter-select-highlight
当修改 Pluot 中的过滤、选择或高亮逻辑时使用。
★ 31