]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programbuilder.h
Add aliases for uniform statements without the type suffix
[libs/gl.git] / source / programbuilder.h
index ecd006d552709eec6656a3409efe47b5bb6afa51..f2046e458f7e81c650dcd73de36f2fe4b59fa8a7 100644 (file)
@@ -88,7 +88,7 @@ public:
                bool specular;
 
                /** Use a normal map texture.  Only used if lighting is true. */
-               bool normalmap;
+               bool normal_map;
 
                /** Use a shadow map.  Requires a ShadowMap effect or equivalent in the
                pipeline. */
@@ -98,6 +98,12 @@ public:
                equivalend in the pipeline. */
                bool reflection;
 
+               /** Clip primitives against user defined clip planes. */
+               bool clipping;
+
+               /** Number of clipping planes to process. */
+               unsigned max_clip_planes;
+
                /** Force the use of legacy shaders conforming to GLSL 1.10.   Defaults
                to true if the version of GLSL is less than 1.30, false otherwise. */
                bool legacy;
@@ -115,6 +121,7 @@ private:
        {
                NO_SCOPE,
                TYPE,
+               FUNCTION,
                UNIFORM,
                ATTRIBUTE,
                VERTEX,