[−][src]Module webrender_build::shader
Functionality for managing source code for shaders.
This module is used during precompilation (build.rs) and regular compilation, so it has minimal dependencies.
Structs
ProgramSourceDigest | |
Sha256 | The SHA-256 hash algorithm with the SHA-256 initial hash value. |
Traits
Digest | The |
Functions
parse_shader_source | Parses a shader string for imports. Imports are recursively processed, and prepended to the output stream. |
shader_source_from_file | Reads a shader source file from disk into a String. |