diff options
Diffstat (limited to 'include/ResourceCache.hpp')
-rw-r--r-- | include/ResourceCache.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ResourceCache.hpp b/include/ResourceCache.hpp index de35500..75ebd88 100644 --- a/include/ResourceCache.hpp +++ b/include/ResourceCache.hpp @@ -2,6 +2,7 @@ #include <SFML/Graphics/Font.hpp> #include <SFML/Graphics/Texture.hpp> +#include <SFML/Graphics/Shader.hpp> #include <string> #include <stdexcept> @@ -21,5 +22,7 @@ namespace dchat // Throws FailedToLoadResourceException on failure static sf::Texture* getTexture(const std::string &filepath); + + static sf::Shader* getShader(const std::string &filepath, sf::Shader::Type shaderType); }; } |