Expand description
§GLSL Loading Macro
[load_glsl] macro is similar to std::include_str but it has some differences:
- it loads files from
glsl
directory 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.