Added Shader::SendColor(Color)

Former-commit-id: e3af0e2cb75a437304ee274a6123114b41dd7d94
This commit is contained in:
Jérôme Leclercq
2012-11-08 14:25:48 +01:00
parent 7cc520be95
commit 94bb765a77
5 changed files with 44 additions and 4 deletions

View File

@@ -8,6 +8,7 @@
#define NAZARA_SHADER_HPP
#include <Nazara/Prerequesites.hpp>
#include <Nazara/Core/Color.hpp>
#include <Nazara/Core/NonCopyable.hpp>
#include <Nazara/Core/Resource.hpp>
#include <Nazara/Core/String.hpp>
@@ -51,6 +52,7 @@ class NAZARA_API NzShader : public NzResource, NzNonCopyable
bool Lock();
bool SendBoolean(int location, bool value);
bool SendColor(int location, const NzColor& color);
bool SendDouble(int location, double value);
bool SendFloat(int location, float value);
bool SendInteger(int location, int value);