X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Feffect.h;h=eadb4dc845984a3d8e04d83e93d6a819df81bdf0;hb=083a8227715fa32c841fc2b8126e4ab8d2840ba0;hp=a4f108fbcf9f739bcca08fc55b520fe0d5fab202;hpb=1863f17c5c5563be8492d7f01e5c613a740ea1e9;p=libs%2Fgl.git diff --git a/source/effects/effect.h b/source/effects/effect.h index a4f108fb..eadb4dc8 100644 --- a/source/effects/effect.h +++ b/source/effects/effect.h @@ -2,14 +2,12 @@ #define MSP_GL_EFFECT_H_ #include -#include +#include #include "renderable.h" namespace Msp { namespace GL { -class Sampler; - /** Effects are used to wrap other renderables and give them additional visual properties. An Effect's render method should set up the necessary state, call @@ -17,17 +15,35 @@ the wrapped Renderable's render method, and clean up after itself. */ class Effect: public Renderable { +public: + struct Template + { + class Loader: public DataFile::CollectionObjectLoader