# Objective - Fixes #7494 - It is now possible to define a ShaderDef from inside a shader. This can be useful to centralise a value, or making sure an import is only interpreted once ## Solution - Support `#define <SHADERDEF_NAME> <optional value>` |
||
|---|---|---|
| .. | ||
| macros | ||
| src | ||
| Cargo.toml | ||