diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-28 17:33:57 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-29 14:31:31 +0200 |
commit | 8d525bc1c3506f15a5f68672245f845cebe18eef (patch) | |
tree | 243376e2cae0be40b6870ec8fe0082845996df87 /include/mglpp/graphics/Shader.hpp | |
parent | a80bf6bb6cb8ab8c5a1430f9f9dbc214f71bdddf (diff) |
More, todo interfaces
Diffstat (limited to 'include/mglpp/graphics/Shader.hpp')
-rw-r--r-- | include/mglpp/graphics/Shader.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mglpp/graphics/Shader.hpp b/include/mglpp/graphics/Shader.hpp index 4e94a7e..47e9689 100644 --- a/include/mglpp/graphics/Shader.hpp +++ b/include/mglpp/graphics/Shader.hpp @@ -22,6 +22,8 @@ namespace mgl { bool load_from_file(const char *filepath, Type type); bool set_uniform(const char *name, vec2f value); + bool is_valid() const; + // If |shader| is nullptr then no shader is used static void use(Shader *shader); private: |