]> git.tdb.fi Git - libs/gl.git/blobdiff - source/builders/sequencetemplate.h
Add inline data items to the collection
[libs/gl.git] / source / builders / sequencetemplate.h
index 4c195a000bc925983abdf885aace11d68e8dda4d..32736d8ee7645e255255d9275abb6156db354b1a 100644 (file)
@@ -64,12 +64,19 @@ public:
        {
                class Loader: public DataFile::CollectionObjectLoader<Step>
                {
+               private:
+                       std::string inline_base_name;
+
                public:
                        Loader(Step &);
                        Loader(Step &, Collection &);
                private:
                        void init();
 
+               public:
+                       void set_inline_base_name(const std::string &);
+
+               private:
                        void blend(BlendFactor, BlendFactor);
                        void blend_predefined(const std::string &);
                        void depth_test(Predicate);
@@ -81,7 +88,7 @@ public:
                };
 
                std::string tag;
-               RefPtr<Lighting> lighting;
+               const Lighting *lighting;
                RefPtr<const DepthTest> depth_test;
                RefPtr<const Blend> blend;
                std::string slot_name;