Skip to main content

TextureFormat

Format used when creating textures from scripts.

Elements

ElementDescription
TextureFormat.Alpha8Alpha-only texture format, 8 bit integer.
TextureFormat.ARGB32Color with alpha texture format, 8-bits per channel.
TextureFormat.ARGB4444A 16 bits/pixel texture format. Texture stores color with an alpha channel.
TextureFormat.ASTC_10x10ASTC (10x10 pixel block in 128 bits) compressed RGB(A) texture format.
TextureFormat.ASTC_12x12ASTC (12x12 pixel block in 128 bits) compressed RGB(A) texture format.
TextureFormat.ASTC_4x4ASTC (4x4 pixel block in 128 bits) compressed RGB(A) texture format.
TextureFormat.ASTC_5x5ASTC (5x5 pixel block in 128 bits) compressed RGB(A) texture format.
TextureFormat.ASTC_6x6ASTC (6x6 pixel block in 128 bits) compressed RGB(A) texture format.
TextureFormat.ASTC_8x8ASTC (8x8 pixel block in 128 bits) compressed RGB(A) texture format.
TextureFormat.ASTC_HDR_10x10ASTC (10x10 pixel block in 128 bits) compressed RGB(A) HDR texture format.
TextureFormat.ASTC_HDR_12x12ASTC (12x12 pixel block in 128 bits) compressed RGB(A) HDR texture format.
TextureFormat.ASTC_HDR_4x4ASTC (4x4 pixel block in 128 bits) compressed RGB(A) HDR texture format.
TextureFormat.ASTC_HDR_5x5ASTC (5x5 pixel block in 128 bits) compressed RGB(A) HDR texture format.
TextureFormat.ASTC_HDR_6x6ASTC (6x6 pixel block in 128 bits) compressed RGB(A) HDR texture format.
TextureFormat.ASTC_HDR_8x8ASTC (8x8 pixel block in 128 bits) compressed RGB(A) texture format.
TextureFormat.BC4Compressed one channel (R) texture format.
TextureFormat.BC5Compressed two-channel (RG) texture format.
TextureFormat.BC6HHDR compressed color texture format.
TextureFormat.BC7High quality compressed color texture format.
TextureFormat.BGRA32Color with alpha texture format, 8-bits per channel.
TextureFormat.DXT1Compressed color texture format.
TextureFormat.DXT1CrunchedCompressed color texture format with Crunch compression for smaller storage sizes.
TextureFormat.DXT5Compressed color with alpha channel texture format.
TextureFormat.DXT5CrunchedCompressed color with alpha channel texture format with Crunch compression for smaller storage sizes.
TextureFormat.EAC_RETC2 / EAC (GL ES 3.0) 4 bits/pixel compressed unsigned single-channel texture format.
TextureFormat.EAC_R_SIGNEDETC2 / EAC (GL ES 3.0) 4 bits/pixel compressed signed single-channel texture format.
TextureFormat.EAC_RGETC2 / EAC (GL ES 3.0) 8 bits/pixel compressed unsigned dual-channel (RG) texture format.
TextureFormat.EAC_RG_SIGNEDETC2 / EAC (GL ES 3.0) 8 bits/pixel compressed signed dual-channel (RG) texture format.
TextureFormat.ETC_RGB4ETC (GLES2.0) 4 bits/pixel compressed RGB texture format.
TextureFormat.ETC_RGB4CrunchedCompressed color texture format with Crunch compression for smaller storage sizes.
TextureFormat.ETC2_RGBETC2 (GL ES 3.0) 4 bits/pixel compressed RGB texture format.
TextureFormat.ETC2_RGBA1ETC2 (GL ES 3.0) 4 bits/pixel RGB+1-bit alpha texture format.
TextureFormat.ETC2_RGBA8ETC2 (GL ES 3.0) 8 bits/pixel compressed RGBA texture format.
TextureFormat.ETC2_RGBA8CrunchedCompressed color with alpha channel texture format using Crunch compression for smaller storage sizes.
TextureFormat.PVRTC_RGB2PowerVR (iOS) 2 bits/pixel compressed color texture format.
TextureFormat.PVRTC_RGB4PowerVR (iOS) 4 bits/pixel compressed color texture format.
TextureFormat.PVRTC_RGBA2PowerVR (iOS) 2 bits/pixel compressed with alpha channel texture format.
TextureFormat.PVRTC_RGBA4PowerVR (iOS) 4 bits/pixel compressed with alpha channel texture format.
TextureFormat.R16Single channel (R) texture format, 16 bit integer.
TextureFormat.R8Single channel (R) texture format, 8 bit integer.
TextureFormat.RFloatScalar (R) texture format, 32 bit floating point.
TextureFormat.RG16Two color (RG) texture format, 8-bits per channel.
TextureFormat.RG32Two channel (RG) texture format, 16 bit integer per channel.
TextureFormat.RGB24Color texture format, 8-bits per channel.
TextureFormat.RGB48Three channel (RGB) texture format, 16 bit integer per channel.
TextureFormat.RGB565A 16 bit color texture format.
TextureFormat.RGB9e5FloatRGB HDR format, with 9 bit mantissa per channel and a 5 bit shared exponent.
TextureFormat.RGBA32Color with alpha texture format, 8-bits per channel.
TextureFormat.RGBA4444Color and alpha texture format, 4 bit per channel.
TextureFormat.RGBA64Four channel (RGBA) texture format, 16 bit integer per channel.
TextureFormat.RGBAFloatRGB color and alpha texture format, 32-bit floats per channel.
TextureFormat.RGBAHalfRGB color and alpha texture format, 16 bit floating point per channel.
TextureFormat.RGFloatTwo color (RG) texture format, 32 bit floating point per channel.
TextureFormat.RGHalfTwo color (RG) texture format, 16 bit floating point per channel.
TextureFormat.RHalfScalar (R) texture format, 16 bit floating point.
TextureFormat.YUY2A format that uses the YUV color space and is often used for video encoding or playback.