]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/scene.h
Add functions to retrieve steps and postprocessors from Sequence
[libs/gl.git] / source / render / scene.h
index e55de1a84323529dfe4300c6ebec210d52c8664e..f89f10daf26691412de2f950925b11b524d9c783 100644 (file)
@@ -25,7 +25,8 @@ protected:
 
        private:
                ContentMap *content;
-               unsigned inst_counter;
+
+               static unsigned inline_counter;
 
        public:
                Loader(Scene &s, Collection &c): Loader(s, c, 0) { }
@@ -36,6 +37,7 @@ protected:
                void object(const std::string &);
                void object_tagged(const std::string &, const std::string &);
                void scene(const std::string &);
+               void scene_inline();
        };
 
 public:
@@ -54,12 +56,12 @@ protected:
        mutable Matrix culling_matrix;
        mutable Vector4 frustum_edges[6];
 
-       Scene() { }
+       Scene() = default;
 private:
        Scene(const Scene &);
        Scene &operator=(const Scene &);
 public:
-       virtual ~Scene() { }
+       virtual ~Scene() = default;
 
        virtual void add(Renderable &) = 0;
        virtual void remove(Renderable &) = 0;