aboutsummaryrefslogtreecommitdiff
path: root/source/Material.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Material.hpp')
-rw-r--r--source/Material.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/source/Material.hpp b/source/Material.hpp
index bf1c988..469cb7b 100644
--- a/source/Material.hpp
+++ b/source/Material.hpp
@@ -4,6 +4,7 @@
#include "RcPtr.hpp"
#include "Shader.hpp"
#include "Texture.hpp"
+// #include "Ires.hpp"
#include <glad/glad.h>
#include <robin_hood.h>
@@ -113,6 +114,26 @@ public:
bool LoadFromFile(const std::filesystem::path& filePath);
};
+// class IresMaterial : public IresObject {
+// public:
+// RcPtr<Material> mInstance;
+
+// public:
+// IresMaterial()
+// : IresObject(KD_Spritesheet) {}
+
+// bool IsValid() const;
+
+// Material* CreateInstance() const;
+// Material* GetInstance();
+// void InvalidateInstance();
+
+// void ShowEditor() override;
+
+// void Write(rapidjson::Value& value, rapidjson::Document& root) const override;
+// void Read(const rapidjson::Value& value) override;
+// };
+
class MaterialManager {
public:
static inline MaterialManager* instance = nullptr;