Crate webgl_rc_macro
source · [−]Expand description
GLSL Loading Macro
[load_glsl] macro is similar to std::include_str but it has some differences:
- it loads files from
glsldirectory at the project root, - it supports
#include <lib/color.glsl>or#incluide "../lib/color.glsl"macro in the files.
Macros
Load GLSL file from the project
glsl folder and return it as a string.