| 123456789101112131415161718192021222324252627 |
- #pragma once
- #include <nlohmann/json.hpp>
- namespace WallpaperEngine::Core::Objects::Images::Materials
- {
- using json = nlohmann::json;
- class CPassess
- {
- public:
- static CPassess* fromJSON (json data);
- std::vector<std::string>* getTextures ();
- protected:
- CPassess (std::string blending, std::string cullmode, std::string depthtest, std::string depthwrite, std::string shader);
- void insertTexture (const std::string& texture);
- private:
- std::string m_blending;
- std::string m_cullmode;
- std::string m_depthtest;
- std::string m_depthwrite;
- std::string m_shader;
- std::vector<std::string> m_textures;
- };
- }
|