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.

RGB24

Color texture format.

ARGB32

Color with an alpha channel texture format.

DXT1

Compressed color texture format.

DXT5

Compressed color with alpha channel 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