Added VertexFormat member object to VertexBuffer. So now all vertex format information that should be used to draw the vertex object is stored with the buffer object.