Function webrender_build::shader::build_shader_prefix_string

source ยท
pub fn build_shader_prefix_string<F: FnMut(&str)>(
    gl_version: ShaderVersion,
    features: &[&str],
    kind: ShaderKind,
    base_filename: &str,
    output: &mut F,
)
Expand description

Walks the prefix section of the shader string, which manages the various defines for features etc.