X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogrambuilder.h;h=97a706e077d93d3729c65eba5290c5a6a5b285e2;hb=06817138c8f234e299a137fab94fb956169d21c5;hp=ecd006d552709eec6656a3409efe47b5bb6afa51;hpb=bbd21944fae06f134625b2f5595c3aab36c3aa9e;p=libs%2Fgl.git diff --git a/source/programbuilder.h b/source/programbuilder.h index ecd006d5..97a706e0 100644 --- a/source/programbuilder.h +++ b/source/programbuilder.h @@ -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;