Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration PixelFormat

The texture pixel format, default value is RGBA8888,
you should note that textures loaded by normal image files (png, jpg) can only support RGBA8888 format,
other formats are supported by compressed file types or raw data.

Index

Enumeration members

A8

A8: = Format.A8

8-bit pixel format used as masks

AI8

AI8: = Format.LA8

16-bit pixel format used as masks

I8

I8: = Format.L8

8-bit intensity pixel format

RGB32F

RGB32F: = Format.RGB32F

32-bit float pixel format containing red, green and blue channels: RGBA32F

RGB565

RGB565: = Format.R5G6B5

16-bit pixel format containing red, green and blue channels

RGB5A1

RGB5A1: = Format.RGB5A1

16-bit pixel format containing red, green, blue channels with 5 bits per channel and one bit alpha channel: RGB5A1

RGB888

RGB888: = Format.RGB8

24-bit pixel format containing red, green and blue channels: RGB888

RGBA32F

RGBA32F: = Format.RGBA32F

32-bit float pixel format containing red, green, blue and alpha channels: RGBA32F

RGBA4444

RGBA4444: = Format.RGBA4

16-bit pixel format containing red, green, blue and alpha channels: RGBA4444

RGBA8888

RGBA8888: = Format.RGBA8

32-bit pixel format containing red, green, blue and alpha channels: RGBA8888

RGBA_ASTC_10x10

RGBA_ASTC_10x10: = Format.ASTC_RGBA_10x10

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 10x10 block size.

RGBA_ASTC_10x5

RGBA_ASTC_10x5: = Format.ASTC_RGBA_10x5

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 10x5 block size.

RGBA_ASTC_10x6

RGBA_ASTC_10x6: = Format.ASTC_RGBA_10x6

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 10x6 block size.

RGBA_ASTC_10x8

RGBA_ASTC_10x8: = Format.ASTC_RGBA_10x8

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 10x8 block size.

RGBA_ASTC_12x10

RGBA_ASTC_12x10: = Format.ASTC_RGBA_12x10

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 12x10 block size.

RGBA_ASTC_12x12

RGBA_ASTC_12x12: = Format.ASTC_RGBA_12x12

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 12x12 block size.

RGBA_ASTC_4x4

RGBA_ASTC_4x4: = Format.ASTC_RGBA_4x4

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 4x4 block size.

RGBA_ASTC_5x4

RGBA_ASTC_5x4: = Format.ASTC_RGBA_5x4

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 5x4 block size.

RGBA_ASTC_5x5

RGBA_ASTC_5x5: = Format.ASTC_RGBA_5x5

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 5x5 block size.

RGBA_ASTC_6x5

RGBA_ASTC_6x5: = Format.ASTC_RGBA_6x5

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 6x5 block size.

RGBA_ASTC_6x6

RGBA_ASTC_6x6: = Format.ASTC_RGBA_6x6

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 6x6 block size.

RGBA_ASTC_8x5

RGBA_ASTC_8x5: = Format.ASTC_RGBA_8x5

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 8x5 block size.

RGBA_ASTC_8x6

RGBA_ASTC_8x6: = Format.ASTC_RGBA_8x6

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 8x6 block size.

RGBA_ASTC_8x8

RGBA_ASTC_8x8: = Format.ASTC_RGBA_8x8

A pixel format containing red, green, blue, and alpha channels that is ASTC compressed with 8x8 block size.

RGBA_ETC1

RGBA_ETC1: = CUSTOM_PIXEL_FORMAT++

A pixel format containing red, green, blue, and alpha channels that is ETC1 compressed.

RGBA_ETC2

RGBA_ETC2: = Format.ETC2_RGBA8

A pixel format containing red, green, blue, and alpha channels that is ETC2 compressed.

RGBA_PVRTC_2BPPV1

RGBA_PVRTC_2BPPV1: = Format.PVRTC_RGBA2

A pixel format containing red, green, blue, and alpha channels that is PVR 2bpp compressed.

RGBA_PVRTC_4BPPV1

RGBA_PVRTC_4BPPV1: = Format.PVRTC_RGBA4

A pixel format containing red, green, blue and alpha channels that is PVR 4bpp compressed.

RGB_A_PVRTC_2BPPV1

RGB_A_PVRTC_2BPPV1: = CUSTOM_PIXEL_FORMAT++

A pixel format containing red, green, blue, and alpha channels that is PVR 2bpp compressed. RGB_A_PVRTC_2BPPV1 texture is a 2x height RGB_PVRTC_2BPPV1 format texture. It separate the origin alpha channel to the bottom half atlas, the origin rgb channel to the top half atlas.

RGB_A_PVRTC_4BPPV1

RGB_A_PVRTC_4BPPV1: = CUSTOM_PIXEL_FORMAT++

A pixel format containing red, green, blue, and alpha channels that is PVR 4bpp compressed. RGB_A_PVRTC_4BPPV1 texture is a 2x height RGB_PVRTC_4BPPV1 format texture. It separate the origin alpha channel to the bottom half atlas, the origin rgb channel to the top half atlas.

RGB_ETC1

RGB_ETC1: = Format.ETC_RGB8

A pixel format containing red, green, and blue channels that is ETC1 compressed.

RGB_ETC2

RGB_ETC2: = Format.ETC2_RGB8

A pixel format containing red, green, and blue channels that is ETC2 compressed.

RGB_PVRTC_2BPPV1

RGB_PVRTC_2BPPV1: = Format.PVRTC_RGB2

A pixel format containing red, green, and blue channels that is PVR 2bpp compressed.

RGB_PVRTC_4BPPV1

RGB_PVRTC_4BPPV1: = Format.PVRTC_RGB4

A pixel format containing red, green, and blue channels that is PVR 4bpp compressed.

Generated using TypeDoc