add mipmap for texture2d