X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogrambuilder.h;h=0883f6a74fd07a6479dc1b01fa62424882455042;hb=20703b6d4dfd0836cdb787bd416d4ae9bf010602;hp=cca0c14912165616eecc7f9838e59671a9a2ebb1;hpb=825a334729ded60f7b554af4b2d5ab57122efbe9;p=libs%2Fgl.git diff --git a/source/programbuilder.h b/source/programbuilder.h index cca0c149..0883f6a7 100644 --- a/source/programbuilder.h +++ b/source/programbuilder.h @@ -18,9 +18,15 @@ public: virtual ~invalid_variable_definition() throw() { } }; +/** +Generates shaders with common features. +*/ class ProgramBuilder { public: + /** + Describes the features of a standard shader program. + */ struct StandardFeatures { class Loader: public DataFile::ObjectLoader @@ -33,6 +39,7 @@ public: bool material; bool lighting; unsigned max_lights; + bool skylight; bool specular; bool normalmap; bool shadow;