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/shader.h | |
parent | 0f500fab826a57f8aae8a3e2062a90ee9e80a199 (diff) | |
download | plus-548c2b03f8184497a5306f4b4412e3120eaef211.tar.gz plus-548c2b03f8184497a5306f4b4412e3120eaef211.tar.bz2 plus-548c2b03f8184497a5306f4b4412e3120eaef211.tar.xz plus-548c2b03f8184497a5306f4b4412e3120eaef211.zip |
Add shaderprogram class.
Diffstat (limited to 'src/render/shaders/shader.h')
-rw-r--r-- | src/render/shaders/shader.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; }; |