effect.h 376 B

1234567891011121314151617181920212223
  1. #ifndef WALLENGINE_EFFECT_H
  2. #define WALLENGINE_EFFECT_H
  3. #include <nlohmann/json.hpp>
  4. #include <irrlicht/path.h>
  5. namespace wp
  6. {
  7. using json = nlohmann::json;
  8. class effect
  9. {
  10. public:
  11. effect (json json_data, irr::io::path basepath);
  12. private:
  13. irr::io::path m_file;
  14. std::vector<void*> m_passes;
  15. };
  16. }
  17. #endif //WALLENGINE_EFFECT_H