]> git.tdb.fi Git - libs/gl.git/blobdiff - source/builders/sequencetemplate.h
Add debug name capability to more classes
[libs/gl.git] / source / builders / sequencetemplate.h
index 596def5064950d9741ff64d8626a11756c3c1c9d..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;
@@ -103,7 +110,6 @@ public:
 private:
        typedef TypeRegistry<PostProcLoader::AddPostProc, PostProcLoader &> PostProcessorRegistry;
 
-       Resources *resources;
        bool hdr;
        bool alpha;
        unsigned required_multisample;
@@ -115,7 +121,6 @@ public:
        SequenceTemplate();
        ~SequenceTemplate();
 
-       Resources &get_resources() const;
        bool get_hdr() const { return hdr; }
        bool get_alpha() const { return alpha; }
        unsigned get_required_multisample() const { return required_multisample; }