Move shaders into their correct modules

Add path determination to modules that automatically sets correct path resolve tokens
This commit is contained in:
Alexander Bock
2015-05-21 15:17:38 +02:00
parent e51df4b2a0
commit ca7dcd4762
52 changed files with 212 additions and 68 deletions

View File

@@ -34,13 +34,14 @@ public:
OpenSpaceModule() = default;
virtual ~OpenSpaceModule() = default;
virtual bool initialize() { return true; }
virtual bool deinitialize() { return true; }
virtual bool initialize();
virtual bool deinitialize();
std::string name() const { return _name; }
std::string name() const;
protected:
void setName(std::string name) { _name = std::move(name); }
void setName(std::string name);
std::string modulePath() const;
std::string _name;
};