diff options
author | chai <chaifix@163.com> | 2018-10-09 07:53:47 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-09 07:53:47 +0800 |
commit | 4620c40753ad540042a53a35f8d3725dbd6af5c6 (patch) | |
tree | c9d7e5faf9cbd2002ff63f980be5bc7107ae874c /src/libjin/Graphics/Shader.h | |
parent | 96719112134c5afc41f5fe6aeceb71183afcad43 (diff) |
*修改base shader
Diffstat (limited to 'src/libjin/Graphics/Shader.h')
-rw-r--r-- | src/libjin/Graphics/Shader.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libjin/Graphics/Shader.h b/src/libjin/Graphics/Shader.h index d27d538..dcd0b62 100644 --- a/src/libjin/Graphics/Shader.h +++ b/src/libjin/Graphics/Shader.h @@ -9,6 +9,7 @@ #include "texture.h" #include "canvas.h" #include "../3rdparty/GLee/GLee.h" +#include "Shaders/base.shader.h" namespace jin { @@ -22,12 +23,6 @@ namespace graphics static inline Shader* getCurrentShader() { return currentShader; } static void unuse(); - static const char* SHADER_PROJECTION_MATRIX; - static const char* SHADER_MODEL_MATRIX; - static const char* SHADER_MAIN_TEXTURE; - static const char* SHADER_VERTEX_COORDS; - static const char* SHADER_TEXTURE_COORDS; - virtual ~Shader(); void use(); |