ME3Explorer.Unreal.Classes.Texture2D.getFileFormat C# (CSharp) Method

getFileFormat() public method

public getFileFormat ( ) : string
return string
        public string getFileFormat()
        {
            switch (texFormat)
            {
                case "DXT1":
                case "DXT5":
                case "V8U8": return ".dds";
                case "G8":
                case "A8R8G8B8": return ".tga";
                default: throw new FormatException("Unknown ME3 texture format");
            }
        }