From cfa282bcca2d225dbd9eb4f9ca58d1c3b60ad48c Mon Sep 17 00:00:00 2001 From: Lynix Date: Fri, 20 Sep 2013 21:47:35 +0200 Subject: [PATCH] Fixed missing file from commit b373633 Former-commit-id: 1e9fc525f0d72e6c80028d0d456518a4c290e0c7 --- src/Nazara/Renderer/AbstractShaderProgram.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Nazara/Renderer/AbstractShaderProgram.hpp b/src/Nazara/Renderer/AbstractShaderProgram.hpp index ae2135cbb..520dcaea3 100644 --- a/src/Nazara/Renderer/AbstractShaderProgram.hpp +++ b/src/Nazara/Renderer/AbstractShaderProgram.hpp @@ -41,17 +41,32 @@ class NzAbstractShaderProgram virtual bool SendBoolean(int location, bool value) = 0; virtual bool SendColor(int location, const NzColor& color) = 0; virtual bool SendDouble(int location, double value) = 0; + virtual bool SendDoubleArray(int location, const double* values, unsigned int count) = 0; virtual bool SendFloat(int location, float value) = 0; + virtual bool SendFloatArray(int location, const float* values, unsigned int count) = 0; virtual bool SendInteger(int location, int value) = 0; + virtual bool SendIntegerArray(int location, const int* value, unsigned int count) = 0; virtual bool SendMatrix(int location, const NzMatrix4d& matrix) = 0; virtual bool SendMatrix(int location, const NzMatrix4f& matrix) = 0; virtual bool SendTexture(int location, const NzTexture* texture, nzUInt8* textureUnit = nullptr) = 0; virtual bool SendVector(int location, const NzVector2d& vector) = 0; virtual bool SendVector(int location, const NzVector2f& vector) = 0; + virtual bool SendVector(int location, const NzVector2i& vector) = 0; virtual bool SendVector(int location, const NzVector3d& vector) = 0; virtual bool SendVector(int location, const NzVector3f& vector) = 0; + virtual bool SendVector(int location, const NzVector3i& vector) = 0; virtual bool SendVector(int location, const NzVector4d& vector) = 0; virtual bool SendVector(int location, const NzVector4f& vector) = 0; + virtual bool SendVector(int location, const NzVector4i& vector) = 0; + virtual bool SendVectorArray(int location, const NzVector2d* vectors, unsigned int count) = 0; + virtual bool SendVectorArray(int location, const NzVector2f* vectors, unsigned int count) = 0; + virtual bool SendVectorArray(int location, const NzVector2i* vectors, unsigned int count) = 0; + virtual bool SendVectorArray(int location, const NzVector3d* vectors, unsigned int count) = 0; + virtual bool SendVectorArray(int location, const NzVector3f* vectors, unsigned int count) = 0; + virtual bool SendVectorArray(int location, const NzVector3i* vectors, unsigned int count) = 0; + virtual bool SendVectorArray(int location, const NzVector4d* vectors, unsigned int count) = 0; + virtual bool SendVectorArray(int location, const NzVector4f* vectors, unsigned int count) = 0; + virtual bool SendVectorArray(int location, const NzVector4i* vectors, unsigned int count) = 0; }; #endif // NAZARA_ABSTRACTSHADERPROGRAM_HPP