// Token: 0x0600026B RID: 619 RVA: 0x0001598C File Offset: 0x00013B8C
        public void CopyTex(string infile, string outfilepath, string txtpath, TextureModifier.FilterParam filter)
        {
            Texture2D texture2D  = TexUtil.Instance.Load(infile);
            Texture2D texture2D2 = (filter != null) ? ACCTexturesView.Filter(texture2D, filter) : texture2D;

            this.WriteTexFile(outfilepath, txtpath, texture2D2.EncodeToPNG());
            if (texture2D != texture2D2)
            {
                UnityEngine.Object.DestroyImmediate(texture2D2);
            }
            UnityEngine.Object.DestroyImmediate(texture2D);
        }
        public void CopyTex(string infile, string outfilepath, string txtpath, TextureModifier.FilterParam filter)
        {
            // テクスチャをロードし、フィルタを適用
            var srcTex = TexUtil.Instance.Load(infile);
            var dstTex = (filter != null) ? ACCTexturesView.Filter(srcTex, filter) : srcTex;

            WriteTexFile(outfilepath, txtpath, dstTex.EncodeToPNG());
            if (srcTex != dstTex)
            {
                UnityEngine.Object.DestroyImmediate(dstTex);
            }
            UnityEngine.Object.DestroyImmediate(srcTex);
        }