]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/orderedscene.h
Store simpler states by value in PipelineState
[libs/gl.git] / source / render / orderedscene.h
index be17e2206e3451b6ac214d754ddca28fc66ed3d9..b7fa8c6c66869c2dbc52ed09aeea9aa4fa05d59e 100644 (file)
@@ -8,8 +8,7 @@ namespace Msp {
 namespace GL {
 
 /**
-A scene that renders its contents in a specific order.  Inserting Renderables
-in the middle and removing them are O(N) operations.
+A scene which renders its contents in a specific order.
 */
 class OrderedScene: public Scene
 {
@@ -17,7 +16,7 @@ public:
        using Scene::Loader;
 
 private:
-       std::vector<Renderable *> renderables;
+       std::vector<Renderable *> content;
 
 public:
        virtual void add(Renderable &);