#pragma once #include #include #include #include #include #include #include "matrix.hpp" #include namespace shaders { struct Record { std::string name; std::string file_name; std::shared_ptr ptr = nullptr; }; struct ShaderManager { std::unordered_map shaders; }; void init(); bool load_shader(std::string& name, nlohmann::json& settings); sf::Shader* get(std::string name); void reload(); }