glsltcc is the default compiler front-end for the GLSLT language. To use the GLSLT transforms from Rust or Python code, see the documentation for the glslt crate.
Extract the pre-built binary for your platform from the
releases somewhere in your $PATH
.
Alternatively, you may compile GLSLT from source and install it using cargo install --force .
```bash glsltcc 0.5.0 Vincent Tavernier vince.tavernier@gmail.com GLSL Template compiler
USAGE: glsltcc [FLAGS] [OPTIONS] [--] [input]...
FLAGS: -h, --help Prints help information -q, --quiet Quiet mode -V, --version Prints version information -v, --verbose Verbose mode. Repeat to increase verbosity
OPTIONS:
-I
ARGS: ... Input template files ```
```bash
sdf.glsl
to the output file output.glsl
glsltcc -o output.glsl sdf.glsl
sdf.glsl
to the output file output.glsl
. Only keepmainImage
function (minifying mode).glsltcc -o output.glsl -K=mainImage sdf.glsl ```
Vincent Tavernier vince.tavernier@gmail.com