Commit 64a62c5
committed
feat: shader source caching, CompiledMilkRustEquations, borrow-based parser refactor
- Add shader source caching in MilkRustRuntime and MilkRustFrameSetRuntime
(translated_shader_source and shader_texture_samplers cached per source)
- Add CompiledMilkRustEquations type in milkrust-expr for pre-compiled
equation blocks with evaluate/evaluate_with_scope APIs
- Refactor MilkRustExpressionParser to use borrowed token slices
- Add new milkrust-expr crate with full expression parser
- Various Clippy fixes and optimizations across crates1 parent c78854c commit 64a62c5
9 files changed
Lines changed: 2546 additions & 508 deletions
File tree
- crates
- milkrust-core
- src
- milkrust-desktop/src
- milkrust-expr
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments