Simplified VertexBuffer uploading code.