diff options
author | chai <chaifix@163.com> | 2018-11-13 08:27:26 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-13 08:27:26 +0800 |
commit | 75792c15480d3d99b2ba7e79e143e4b569b22611 (patch) | |
tree | 61e3abc45326c67d348e08400da11f60dff18fa3 /src/libjin/Graphics/je_gl.h | |
parent | c7e59fb376453e5abad8c862b52eb0f4c7ba829b (diff) |
*修改lua ref
Diffstat (limited to 'src/libjin/Graphics/je_gl.h')
-rw-r--r-- | src/libjin/Graphics/je_gl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libjin/Graphics/je_gl.h b/src/libjin/Graphics/je_gl.h index 48dccc2..331d899 100644 --- a/src/libjin/Graphics/je_gl.h +++ b/src/libjin/Graphics/je_gl.h @@ -3,6 +3,7 @@ #include "../math/je_matrix.h" +#include "je_color.h" #include "GLee/GLee.h" #include "ogl/OpenGL.h" @@ -31,6 +32,15 @@ namespace JinEngine { } + void setColor(Channel r, Channel g, Channel b, Channel a); + + void setColor(Color c); + + Color getColor(); + + private: + Color mCurrentColor; + }; extern OpenGL gl; |