1 #ifndef SHADER_MANAGER_H 2 #define SHADER_MANAGER_H 3 4 #include <SFML/Graphics.hpp> 5 #include "stringImproved.h" 6 7 class ShaderInfo 8 { 9 public: 10 sf::Shader* shader; 11 }; 12 13 class ShaderManager 14 { 15 public: 16 static sf::Shader* getShader(string name); 17 18 private: 19 static std::map<string, ShaderInfo> shaders; 20 }; 21 22 #endif//SHADER_MANAGER_H 23