allowing attribute buffer to contain multiple attributes (adding stride and offset, with validation)