#define MSP_GL_PROGRAMDATA_H_
#include <map>
+#include <stdexcept>
#include <msp/datafile/objectloader.h>
#include "datatype.h"
#include "matrix.h"
namespace Msp {
namespace GL {
+class too_many_uniforms: public std::runtime_error
+{
+public:
+ too_many_uniforms(const std::string &w): std::runtime_error(w) { }
+ virtual ~too_many_uniforms() throw() { }
+};
+
class Buffer;
class Uniform;
class UniformBlock;