]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/fadeoverlay.h
Load FadeOverlay's shader from builtin resources
[libs/demoscene.git] / source / fadeoverlay.h
index e25d16848ebe054fa166f244ed81b2480f9ea226..29897165427efc276bb1987cc38c6a014c9be634 100644 (file)
@@ -9,6 +9,9 @@
 #include "colorfade.h"
 #include "sequencer.h"
 
+namespace Msp {
+namespace DemoScene {
+
 class FadeOverlay: public Msp::GL::PostProcessor
 {
 public:
@@ -45,12 +48,14 @@ private:
        Msp::GL::Color color;
 
 public:
-       FadeOverlay(Msp::DataFile::Collection &);
+       FadeOverlay();
 
-       void set_content(Msp::GL::Renderable *);
        void set_color(const Msp::GL::Color &);
 
        virtual void render(Msp::GL::Renderer &, const Msp::GL::Texture2D &, const Msp::GL::Texture2D &);
 };
 
+} // namespace DemoScene
+} // namespace Msp
+
 #endif