Expand description
The Shader asset: the authored schema (Shader, ShaderStage, and the
ShaderPrograms container the cook fills), and the Component impl. The
compile lives in concinnity-cook (compile::shader); which programs a
world shader compiles to is render::slang_programs::surface.
Structs§
- Shader
- Replaces how surfaces are shaded, and optionally how vertices are placed, with functions of your own. Written in Slang, one source for every backend.
- Shader
Programs - The compiled payload a
Shadercarries in the blob: the authored files and every program the cook compiled from them. Written by the cook, decoded once by the renderer at load.
Enums§
- Shader
Stage - One of the two files a Shader declares.