Expand description
Reusable shader handles. GPU compilation is host-owned and replacements are transactional.
ShaderMaterial::new_with_layout opts into checked, material-bound parameters.
The layout describes how authored hooks read the existing u_params[4] ABI;
it is not GLSL reflection. Source reloads must preserve that contract.
Structs§
- Material
File Watcher - Material
Options - Material
Parameters - A fixed-size, finite parameter block tied to one material’s declared layout.
- Material
Status - Shader
Material - Shader
Source
Enums§
- Blend
Mode - Compile
Status - Parameter
Error - A rejected update or binding. Failures leave the parameter block and active binding intact.
- Parameter
Type - The components a shader hook reads from one
u_paramsslot. - Parameter
Value - A typed update to one slot;
MaterialParameters::setchecks its type and finiteness.