summaryrefslogtreecommitdiff
path: root/src/render/shaders/shader.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-08 15:40:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-08 15:40:35 +0300
commit548c2b03f8184497a5306f4b4412e3120eaef211 (patch)
treea3813d15d21c320be53650e1e195b68842f12197 /src/render/shaders/shader.h
parent0f500fab826a57f8aae8a3e2062a90ee9e80a199 (diff)
downloadmv-548c2b03f8184497a5306f4b4412e3120eaef211.tar.gz
mv-548c2b03f8184497a5306f4b4412e3120eaef211.tar.bz2
mv-548c2b03f8184497a5306f4b4412e3120eaef211.tar.xz
mv-548c2b03f8184497a5306f4b4412e3120eaef211.zip
Add shaderprogram class.
Diffstat (limited to 'src/render/shaders/shader.h')
-rw-r--r--src/render/shaders/shader.h3
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;
};