uniform(name, new UniformMatrix4x4f(v));
}
+void ProgramData::uniform1_array(const string &name, unsigned n, const int *v)
+{
+ uniform(name, new UniformArray<Uniform1i>(n, v));
+}
+
void ProgramData::uniform1_array(const string &name, unsigned n, const float *v)
{
uniform(name, new UniformArray<Uniform1f>(n, v));
void uniform_matrix3(const std::string &, const float *);
void uniform(const std::string &, const Matrix &);
void uniform_matrix4(const std::string &, const float *);
+ void uniform1_array(const std::string &, unsigned, const int *);
void uniform1_array(const std::string &, unsigned, const float *);
void uniform2_array(const std::string &, unsigned, const float *);
void uniform3_array(const std::string &, unsigned, const float *);