TextureFormat Manual     Reference     Scripting  
Scripting > Enumerations > TextureFormat
TextureFormat Enumeration

Format of a texture. Used when creating textures from scripts.

See Also: Texture2D.Texture2D, texture assets.

Values
Alpha8

Alpha-only texture format.

ARGB4444

A 16 bits/pixel texture format. Texture stores color with an alpha channel.

RGB24

A color texture format.

ARGB32

Color with an alpha channel texture format.

RGB565

A 16 bit color texture format.

DXT1

Compressed color texture format.

DXT5

Compressed color with alpha channel texture format.

PVRTC_RGB2

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

PVRTC_RGBA2

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

PVRTC_RGB4

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

PVRTC_RGBA4

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

ETC_RGB4

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

ATC_RGB4

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

ATC_RGBA8

ATC (ATITC) 8 bits/pixel compressed RGB texture format.