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 glsl directory at the project root,
  • it supports #include <lib/color.glsl> or #incluide "../lib/color.glsl" macro in the files.

Macros§

load_glsl
Load GLSL file from the project glsl folder and return it as a string.

Derive Macros§

Attributes
Instances
Uniforms