load_glsl!() { /* proc-macro */ }
Expand description
Load GLSL file from the project glsl
folder and return it as a string.
let vertex: &str = webgl_rc::load_glsl!("draw/vertex.glsl");
let fragment: &str = webgl_rc::load_glsl!("draw/fragment.glsl");