Added boolean useMipmap TextureInfo

From now on generation of mipmaps will/won't be performed according to variable useMipmap.