Expand description
The Shader asset: the authored schema (Shader, StageSource, ShaderKind, and
the ShaderPayload container), the Component impl, and the
StageSource::source_for selection the engine init and hot-reload paths
use. The JSON-args source selection and validation live in concinnity-cook
(authoring::source_args, check::shader).
Structs§
- Shader
- Declares a custom shader program: the vertex and fragment stages, plus the optional GPU-instanced vertex stage.
- Shader
Payload - The compiled payload a
Shadercarries in the blob: every compiled stage, tagged by kind. Written by the cook, decoded once by the renderer at load. - Stage
Source - Source declaration for one stage of a Shader.
Enums§
- Shader
Kind - A stage slot within a Shader.