Documentation ¶
Overview ¶
g3nshaders reads shaders files with ".glsl" extensions and generates a Go file containing strings with the content of these files. Also it builds maps associating include and shader names to its respective source strings. Usage:
g3nshaders -in=<input_dir> -out<output_gofile> -v
It is normally invoked by "go generate" inside the "shaders" directory
Click to show internal directories.
Click to hide internal directories.