Backend-neutral MoonBit rendering data and format modules.
moon 0.1.20261104 (940aa18 2026-11-04)
moonc v0.10.20+65efd5b93 (2026-11-05)
moonrun 0.1.20261104 (940aa18 2026-11-04)| 检查项 | 命令 | 结果 |
|---|---|---|
| 类型检查 | moon check --target native | 通过,0 warning |
| 核心模块测试(native) | moon test --target native | 14/14 通过 |
| 核心模块测试(wasm-gc) | moon test --target wasm-gc | 14/14 通过 |
| native 模块(workspace,含核心包) | cd native; moon test --target native | 25/25 通过 |
| native 三个示例 | native/scripts/self-test.ps1 | 全部通过 |
moon add PingGuoMiaoMiao/LunarRender@0.2.1moon fmt --check
moon check --target native
moon test --target native
moon check --target wasm-gc
moon test --target wasm-gc
moon package --list| 路径 | 优化前 | 优化后 | 倍数 |
|---|---|---|---|
| 一帧的 CPU 提交开销(256 个网格) | 43.9 µs | 1.79 µs | 24.5× |
| 句柄 key → 资源槽位查找 | 133.6 ns | 2.62 ns | 51× |
| 每帧视图投影矩阵 | 1.04 µs | 228 ns | 4.5× |
renderer/ 纯 MoonBit 渲染数据类型和验证
formats/mmd/ 纯 MoonBit PMX/MMD 格式解析
native/ Windows native 模块、OpenGL 后端、示例和构建脚本
docs/ 兼容性检查、性能记录和项目计划
scripts/ 发布辅助脚本