X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmaterials%2Ftechnique.h;h=47a307c9af318b111ef2266b93fc9442ece058e1;hb=fe2fc291a4fc618425c64112c9ffd3519f0b8a3e;hp=c3b5245357180a8e1993fb63a831efbc60db72c0;hpb=233dff2a6c552e08da832496aecd88ef4f8948f1;p=libs%2Fgl.git diff --git a/source/materials/technique.h b/source/materials/technique.h index c3b52453..47a307c9 100644 --- a/source/materials/technique.h +++ b/source/materials/technique.h @@ -18,12 +18,16 @@ class Technique public: class Loader: public Msp::DataFile::CollectionObjectLoader { + private: + static ActionMap shared_actions; + public: Loader(Technique &); Loader(Technique &, Collection &); private: - void init(); + virtual void init_actions(); + void inherit(const std::string &); void pass(const std::string &); }; @@ -56,6 +60,8 @@ public: bool replace_material(const std::string &, const Material &); bool replace_uniforms(const ProgramData &); bool has_shaders() const; + + void set_debug_name(const std::string &); }; } // namespace GL