From 75792c15480d3d99b2ba7e79e143e4b569b22611 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 13 Nov 2018 08:27:26 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9lua=20ref?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/je_gl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/libjin/Graphics/je_gl.h') 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; -- cgit v1.1-26-g67d0