#include <vector>
#include <msp/datafile/objectloader.h>
#include "bindable.h"
+#include "datatype.h"
#include "gl.h"
#include "vertexformat.h"
unsigned size;
unsigned array_stride;
unsigned matrix_stride;
- GLenum type;
+ DataType type;
};
struct UniformBlockInfo
std::string name;
unsigned location;
unsigned size;
- GLenum type;
+ DataType type;
};
typedef std::map<std::string, UniformInfo> UniformMap;
void link();
private:
- static void require_type(GLenum);
void query_uniforms();
void query_uniform_blocks(const std::vector<UniformInfo *> &);
void query_attributes();