]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programbuilder.h
Add a new API to Pipeline that ties Renderables and passes together
[libs/gl.git] / source / programbuilder.h
index 56fd5e80e59d45ae7de271bcc744eb5d17587e45..97a706e077d93d3729c65eba5290c5a6a5b285e2 100644 (file)
@@ -82,6 +82,8 @@ public:
                /** Use a skylight component for ambient lighting. */
                bool skylight;
 
+               bool fog;
+
                /** Use a specular lighting component. */
                bool specular;
 
@@ -96,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;