TextureImporterFormat Enumeration

Imported texture format for TextureImporter.

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

See Also: TextureImporter.textureFormat.

Values
AutomaticCompressed

Choose a compressed format automatically.

Automatic16bit

Choose a 16 bit format automatically.

AutomaticTruecolor

Choose a Truecolor format automatically.

DXT1

DXT1 compresed texture format.

DXT5

DXT5 compresed texture format.

RGB16

RGB 16 bit texture format.

RGB24

RGB 24 bit texture format.

Alpha8

Alpha 8 bit texture format.

ARGB16

RGBA 16 bit texture format.

RGBA32

RGBA 32 bit texture format.

ARGB32

ARGB 32 bit texture format.

RGBA16

RGBA 16 bit (4444) texture format.

PVRTC_RGB2

PowerVR (iPhone) 2 bits/pixel compressed color texture format.

PVRTC_RGBA2

PowerVR (iPhone) 2 bits/pixel compressed with alpha channel texture format.

PVRTC_RGB4

PowerVR (iPhone) 4 bits/pixel compressed color texture format.

PVRTC_RGBA4

PowerVR (iPhone) 4 bits/pixel compressed with alpha channel texture format.

ETC_RGB4

ETC (GLES2.0) 4 bits/pixel compressed RGB texture format.

ATC_RGB4

ATC (Android) 4 bits/pixel compressed RGB texture format.

ATC_RGBA8

ATC (Android) 8 bits/pixel compressed RGBA texture format.

ATF_RGB_DXT1

Flash-specific RGB DXT1 compressed color texture format.

ATF_RGBA_JPG

Flash-specific RGBA JPG-compressed color texture format.

ATF_RGB_JPG

Flash-specific RGB JPG-compressed color texture format.