public static IsCompressedDXTTextureFormat ( TextureImporterFormat format ) : bool | ||
format | TextureImporterFormat | |
return | bool |
public static bool IsCompressedDXTTextureFormat(TextureImporterFormat format)
{
return ((format == TextureImporterFormat.DXT1) || (format == TextureImporterFormat.DXT5));
}