azul_webrender_build::shader

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