|
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.
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. |
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. |