Add u16 getTextureDimension(int level)