chickadee » glls » glsl-version

glsl-versionparameter

The default GLSL version used by shaders. Defaults to 120 on GL ES platforms, 330 otherwise. Can also be a list, see <version> under Shader syntax. When compiling a file with a shader, modifying this parameter will only take effect if you change it before the compilation phase. E.g.:

    
(import-for-syntax glls)
(begin-for-syntax (glsl-version 300))