Expand description
Shader preprocessing for librashader.
This crate contains facilities and types for resolving #include directives in .slang
into a single compilation unit. #pragma directives are also parsed and resolved as
ShaderParameter structs.
The resulting ShaderSourcecan then be passed into a
reflection target for reflection and compilation into the target shader format.
Re-exported as librashader::preprocess.
Structs§
- Shader
Parameter  - A user tweakable parameter for the shader as declared in source.
 - Shader
Source  - The source file for a single shader pass.
 
Enums§
- Preprocess
Error  - Error type for source preprocessing.