]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programbuilder.h
Do not attempt to unwatch a mesh that was already removed
[libs/gl.git] / source / programbuilder.h
index ecd006d552709eec6656a3409efe47b5bb6afa51..e61e9942c0a343083f5d876baaa819befac61b44 100644 (file)
@@ -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,