mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
12 lines
356 B
C#
12 lines
356 B
C#
using AssetRipper.SourceGenerated.Enums;
|
|
|
|
namespace AssetRipper.SourceGenerated.Extensions;
|
|
|
|
public static class TextureFormatExtensions
|
|
{
|
|
public static bool IsCrunched(this TextureFormat format)
|
|
{
|
|
return format is TextureFormat.DXT1Crunched or TextureFormat.DXT5Crunched or TextureFormat.ETC_RGB4Crunched or TextureFormat.ETC2_RGBA8Crunched;
|
|
}
|
|
}
|