]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/sequence.h
Allow creating sequences without size
[libs/gl.git] / source / render / sequence.h
index 00211b006ef4f119c13f292a4b4c885f71dfb10c..e1ad77bde8baf8f6b23aff926da02f2c8e1dffd4 100644 (file)
@@ -19,7 +19,6 @@ class Camera;
 class Clipping;
 class Lighting;
 class PostProcessor;
 class Clipping;
 class Lighting;
 class PostProcessor;
-class View;
 
 /**
 Top-level content class.  Typically a Sequence is used as the content
 
 /**
 Top-level content class.  Typically a Sequence is used as the content
@@ -85,18 +84,13 @@ private:
        RenderTarget *target_ms;
 
 public:
        RenderTarget *target_ms;
 
 public:
-       Sequence(unsigned, unsigned, const FrameFormat & = FrameFormat());
-       Sequence(const View &, const FrameFormat & = FrameFormat());
-       Sequence(const Framebuffer &, const FrameFormat & = FrameFormat());
-private:
-       void init(unsigned, unsigned, const FrameFormat &);
-public:
+       Sequence();
+       Sequence(unsigned, unsigned, const FrameFormat &);
        ~Sequence();
 
        ~Sequence();
 
-       const FrameFormat &get_target_format() { return target_format; }
-
        unsigned get_width() const { return width; }
        unsigned get_height() const { return height; }
        unsigned get_width() const { return width; }
        unsigned get_height() const { return height; }
+       const FrameFormat &get_target_format() { return target_format; }
 
        /** Adds a step to the sequence.  It's permissible to add the same
        Renderable multiple times. */
 
        /** Adds a step to the sequence.  It's permissible to add the same
        Renderable multiple times. */