};
private:
+ struct Array
+ {
+ unsigned char component;
+ unsigned char offset;
+
+ Array();
+ };
+
VertexFormat format;
std::vector<float> data;
unsigned stride;
- std::vector<unsigned char> arrays;
+ std::vector<Array> arrays;
RefPtr<Buffer> vbuf;
bool defer_vbuf;
mutable bool dirty;