X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogrambuilder.h;h=e61e9942c0a343083f5d876baaa819befac61b44;hb=91b86d70b598193201a28c5cd6e6c4b180fda45a;hp=43d43fcca8f74d6823812809d88cec0fde6b65a0;hpb=c51030d1cb2308d30db80303a561de1774dfdb76;p=libs%2Fgl.git diff --git a/source/programbuilder.h b/source/programbuilder.h index 43d43fcc..e61e9942 100644 --- a/source/programbuilder.h +++ b/source/programbuilder.h @@ -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; @@ -113,6 +121,7 @@ private: { NO_SCOPE, TYPE, + FUNCTION, UNIFORM, ATTRIBUTE, VERTEX, @@ -124,7 +133,6 @@ private: NO_INTERFACE = 0, INPUT = 1, OUTPUT = 2, - PASSTHROUGH = INPUT|OUTPUT, GOAL = 4 };