mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-27 07:18:57 -06:00
Move shaders into their correct modules
Add path determination to modules that automatically sets correct path resolve tokens
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user