Changeset 33036 in project


Ignore:
Timestamp:
12/28/15 17:23:01 (6 years ago)
Author:
acharlton
Message:

wiki/glls: clarify glsl-version parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/glls

    r32815 r33036  
     1
    12== glls
    23[[toc:]]
     
    2627<parameter> glsl-version</parameter>
    2728
    28 The default GLSL version used by shaders. Defaults to {{120}} on GL ES platforms, {{330}} otherwise.
     29The default GLSL version used by shaders. Defaults to {{120}} on GL ES platforms, {{330}} otherwise. When compiling a file with a shader, this modifying this parameter will only take effect if you change it before the compilation phase. E.g.:
     30
     31<enscript highlight="scheme">   
     32(use-for-syntax glls)
     33(begin-for-syntax (glsl-version 300))
     34</enscript>
    2935
    3036
Note: See TracChangeset for help on using the changeset viewer.