From 548c2b03f8184497a5306f4b4412e3120eaef211 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 8 Jun 2014 15:40:35 +0300 Subject: Add shaderprogram class. --- src/render/shaders/shader.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/render/shaders/shader.h') diff --git a/src/render/shaders/shader.h b/src/render/shaders/shader.h index 6ee964704..adcc29702 100644 --- a/src/render/shaders/shader.h +++ b/src/render/shaders/shader.h @@ -34,6 +34,9 @@ class Shader final : public Resource A_DELETE_COPY(Shader) + unsigned int getShaderId() const + { return mShaderId; } + protected: unsigned int mShaderId; }; -- cgit v1.2.3-70-g09d2