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.

WiiI4

Wii texture format.

WiiI8

Wii texture format. Intensity 8 bit.

WiiIA4

Wii texture format. Intensity + Alpha 8 bit (4 + 4).

WiiIA8

Wii texture format. Intensity + Alpha 16 bit (8 + 8).

WiiRGB565

Wii texture format. RGB 16 bit (565).

WiiRGB5A3

Wii texture format. RGBA 16 bit (4443).

WiiRGBA8

Wii texture format. RGBA 32 bit (8888).

WiiCMPR

Compressed Wii texture format. 4 bits/texel, ~RGB8A1 (Outline alpha is not currently supported).

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.

BGRA32

Format returned by iPhone camera

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.