1 #include "arraystate.h"
2 #include "bufferstate.h"
8 ArrayState::ArrayState():
20 void ArrayState::set(unsigned s, GLenum t, bool n, unsigned r, BufferState *b, long p)
30 buffer->content.update(*this);
33 string ArrayState::describe() const
37 string descr = strformat("%d %s, stride %d", size, describe_enum(type, "DataType"), stride);
39 descr += strformat(", buffer %d at %d", buffer->id, pointer);
41 descr += strformat(", at 0x%X", pointer);