unsigned array_stride;
unsigned matrix_stride;
DataType type;
+
+ UniformInfo();
};
struct UniformBlockInfo
int bind_point;
std::vector<const UniformInfo *> uniforms;
LayoutHash layout_hash;
+
+ UniformBlockInfo();
};
struct AttributeInfo
unsigned location;
unsigned array_size;
DataType type;
+
+ AttributeInfo();
};
typedef std::map<std::string, UniformInfo> UniformMap;