public static extern bool ReformatTexture(ref Texture2D texture, int width, int height, TextureFormat textureFormat, bool useMipmap, bool linear); [MethodImpl(MethodImplOptions.InternalCall)]