public void FlipVertical()
{
int halfHeight = height / 2;
int heightMinusOne = height - 1;
// This currently assumes Color. Update to use DXT.
for (int x = 0; x < width; x++)
{
for (int y = 0; y < halfHeight; y++)
{
Color temp = mData[x + y * Width];
mData[x + y * width] = mData[x + (heightMinusOne - y) * width];
mData[x + (heightMinusOne - y) * width] = temp;
}
}
}