Changed from uint to int for packed vertexdata