From 7af9992ca81c699bc1cf05eb691e284bf424f050 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Mon, 18 Apr 2022 17:54:29 -0700 Subject: Changeset: 9 Implement IresSpritesheet --- source/Material.hpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'source/Material.hpp') 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 #include @@ -113,6 +114,26 @@ public: bool LoadFromFile(const std::filesystem::path& filePath); }; +// class IresMaterial : public IresObject { +// public: +// RcPtr 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; -- cgit v1.2.3-70-g09d2