Add attribute handling to VertexBuffer