Function webrender_build::shader::build_shader_strings
source ยท pub fn build_shader_strings<G: Fn(&str) -> Cow<'static, str>>(
gl_version: ShaderVersion,
features: &[&str],
base_filename: &str,
get_source: &G,
) -> (String, String)
Expand description
Creates heap-allocated strings for both vertex and fragment shaders.