diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-08 15:40:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-08 15:40:35 +0300 |
commit | 548c2b03f8184497a5306f4b4412e3120eaef211 (patch) | |
tree | a3813d15d21c320be53650e1e195b68842f12197 /src/render/shaders/shadersmanager.h | |
parent | 0f500fab826a57f8aae8a3e2062a90ee9e80a199 (diff) | |
download | mv-548c2b03f8184497a5306f4b4412e3120eaef211.tar.gz mv-548c2b03f8184497a5306f4b4412e3120eaef211.tar.bz2 mv-548c2b03f8184497a5306f4b4412e3120eaef211.tar.xz mv-548c2b03f8184497a5306f4b4412e3120eaef211.zip |
Add shaderprogram class.
Diffstat (limited to 'src/render/shaders/shadersmanager.h')
-rw-r--r-- | src/render/shaders/shadersmanager.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/render/shaders/shadersmanager.h b/src/render/shaders/shadersmanager.h index 0ad8556c8..ba7d26438 100644 --- a/src/render/shaders/shadersmanager.h +++ b/src/render/shaders/shadersmanager.h @@ -27,13 +27,18 @@ #include "localconsts.h" -struct Shader; +class Shader; +class ShaderProgram; class ShadersManager final { public: Shader *createShader(const unsigned int type, const std::string &fileName) A_WARN_UNUSED; + + ShaderProgram *createProgram(const std::string &vertex, + const std::string &fragment) + A_WARN_UNUSED; }; extern ShadersManager shaders; |