TextureFormat
Format used when creating textures from scripts.
Elements
Element | Description |
---|---|
TextureFormat.Alpha8 | Alpha-only texture format, 8 bit integer. |
TextureFormat.ARGB32 | Color with alpha texture format, 8-bits per channel. |
TextureFormat.ARGB4444 | A 16 bits/pixel texture format. Texture stores color with an alpha channel. |
TextureFormat.ASTC_10x10 | ASTC (10x10 pixel block in 128 bits) compressed RGB(A) texture format. |
TextureFormat.ASTC_12x12 | ASTC (12x12 pixel block in 128 bits) compressed RGB(A) texture format. |
TextureFormat.ASTC_4x4 | ASTC (4x4 pixel block in 128 bits) compressed RGB(A) texture format. |
TextureFormat.ASTC_5x5 | ASTC (5x5 pixel block in 128 bits) compressed RGB(A) texture format. |
TextureFormat.ASTC_6x6 | ASTC (6x6 pixel block in 128 bits) compressed RGB(A) texture format. |
TextureFormat.ASTC_8x8 | ASTC (8x8 pixel block in 128 bits) compressed RGB(A) texture format. |
TextureFormat.ASTC_HDR_10x10 | ASTC (10x10 pixel block in 128 bits) compressed RGB(A) HDR texture format. |
TextureFormat.ASTC_HDR_12x12 | ASTC (12x12 pixel block in 128 bits) compressed RGB(A) HDR texture format. |
TextureFormat.ASTC_HDR_4x4 | ASTC (4x4 pixel block in 128 bits) compressed RGB(A) HDR texture format. |
TextureFormat.ASTC_HDR_5x5 | ASTC (5x5 pixel block in 128 bits) compressed RGB(A) HDR texture format. |
TextureFormat.ASTC_HDR_6x6 | ASTC (6x6 pixel block in 128 bits) compressed RGB(A) HDR texture format. |
TextureFormat.ASTC_HDR_8x8 | ASTC (8x8 pixel block in 128 bits) compressed RGB(A) texture format. |
TextureFormat.BC4 | Compressed one channel (R) texture format. |
TextureFormat.BC5 | Compressed two-channel (RG) texture format. |
TextureFormat.BC6H | HDR compressed color texture format. |
TextureFormat.BC7 | High quality compressed color texture format. |
TextureFormat.BGRA32 | Color with alpha texture format, 8-bits per channel. |
TextureFormat.DXT1 | Compressed color texture format. |
TextureFormat.DXT1Crunched | Compressed color texture format with Crunch compression for smaller storage sizes. |
TextureFormat.DXT5 | Compressed color with alpha channel texture format. |
TextureFormat.DXT5Crunched | Compressed color with alpha channel texture format with Crunch compression for smaller storage sizes. |
TextureFormat.EAC_R | ETC2 / EAC (GL ES 3.0) 4 bits/pixel compressed unsigned single-channel texture format. |
TextureFormat.EAC_R_SIGNED | ETC2 / EAC (GL ES 3.0) 4 bits/pixel compressed signed single-channel texture format. |
TextureFormat.EAC_RG | ETC2 / EAC (GL ES 3.0) 8 bits/pixel compressed unsigned dual-channel (RG) texture format. |
TextureFormat.EAC_RG_SIGNED | ETC2 / EAC (GL ES 3.0) 8 bits/pixel compressed signed dual-channel (RG) texture format. |
TextureFormat.ETC_RGB4 | ETC (GLES2.0) 4 bits/pixel compressed RGB texture format. |
TextureFormat.ETC_RGB4Crunched | Compressed color texture format with Crunch compression for smaller storage sizes. |
TextureFormat.ETC2_RGB | ETC2 (GL ES 3.0) 4 bits/pixel compressed RGB texture format. |
TextureFormat.ETC2_RGBA1 | ETC2 (GL ES 3.0) 4 bits/pixel RGB+1-bit alpha texture format. |
TextureFormat.ETC2_RGBA8 | ETC2 (GL ES 3.0) 8 bits/pixel compressed RGBA texture format. |
TextureFormat.ETC2_RGBA8Crunched | Compressed color with alpha channel texture format using Crunch compression for smaller storage sizes. |
TextureFormat.PVRTC_RGB2 | PowerVR (iOS) 2 bits/pixel compressed color texture format. |
TextureFormat.PVRTC_RGB4 | PowerVR (iOS) 4 bits/pixel compressed color texture format. |
TextureFormat.PVRTC_RGBA2 | PowerVR (iOS) 2 bits/pixel compressed with alpha channel texture format. |
TextureFormat.PVRTC_RGBA4 | PowerVR (iOS) 4 bits/pixel compressed with alpha channel texture format. |
TextureFormat.R16 | Single channel (R) texture format, 16 bit integer. |
TextureFormat.R8 | Single channel (R) texture format, 8 bit integer. |
TextureFormat.RFloat | Scalar (R) texture format, 32 bit floating point. |
TextureFormat.RG16 | Two color (RG) texture format, 8-bits per channel. |
TextureFormat.RG32 | Two channel (RG) texture format, 16 bit integer per channel. |
TextureFormat.RGB24 | Color texture format, 8-bits per channel. |
TextureFormat.RGB48 | Three channel (RGB) texture format, 16 bit integer per channel. |
TextureFormat.RGB565 | A 16 bit color texture format. |
TextureFormat.RGB9e5Float | RGB HDR format, with 9 bit mantissa per channel and a 5 bit shared exponent. |
TextureFormat.RGBA32 | Color with alpha texture format, 8-bits per channel. |
TextureFormat.RGBA4444 | Color and alpha texture format, 4 bit per channel. |
TextureFormat.RGBA64 | Four channel (RGBA) texture format, 16 bit integer per channel. |
TextureFormat.RGBAFloat | RGB color and alpha texture format, 32-bit floats per channel. |
TextureFormat.RGBAHalf | RGB color and alpha texture format, 16 bit floating point per channel. |
TextureFormat.RGFloat | Two color (RG) texture format, 32 bit floating point per channel. |
TextureFormat.RGHalf | Two color (RG) texture format, 16 bit floating point per channel. |
TextureFormat.RHalf | Scalar (R) texture format, 16 bit floating point. |
TextureFormat.YUY2 | A format that uses the YUV color space and is often used for video encoding or playback. |