Module shader

Source
Expand description

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.
ShaderSourceParser

Traits§

Digest
The Digest trait specifies an interface common for digest functions.

Functions§

shader_source_from_file
Reads a shader source file from disk into a String.