Back

OpenGL Internal Texture Formats. Each internal texture format has a corresponding base internal format and its desired component resolutions.

Sized | Base | R | G | B | A | L | I
Internal Format | Internal Format | bits | bits | bits | bits | bits | bits
`ALPHA4` | `ALPHA` |  |  |  | 4 |  |
`ALPHA8` | `ALPHA` |  |  |  | 8 |  |
`ALPHA12` | `ALPHA` |  |  |  | 12 |  |
`ALPHA16` | `ALPHA` |  |  |  | 16 |  |
`LUMINANCE4` | `LUMINANCE` |  |  |  |  | 4 |
`LUMINANCE8` | `LUMINANCE` |  |  |  |  | 8 |
`LUMINANCE12` | `LUMINANCE` |  |  |  |  | 12 |
`LUMINANCE16` | `LUMINANCE` |  |  |  |  | 16 |
`LUMINANCE4_ALPHA4` | `LUMINANCE_ALPHA` |  |  |  | 4 | 4 |
`LUMINANCE6_ALPHA2` | `LUMINANCE_ALPHA` |  |  |  | 2 | 6 |
`LUMINANCE8_ALPHA8` | `LUMINANCE_ALPHA` |  |  |  | 8 | 8 |
`LUMINANCE12_ALPHA4` | `LUMINANCE_ALPHA` |  |  |  | 12 | 4 |
`LUMINANCE16_ALPHA16` | `LUMINANCE_ALPHA` |  |  |  | 16 | 16 |
`INTENSITY4` | `INTENSITY` |  |  |  |  |  | 4
`INTENSITY8` | `INTENSITY` |  |  |  |  |  | 8
`INTENSITY12` | `INTENSITY` |  |  |  |  |  | 12
`INTENSITY16` | `INTENSITY` |  |  |  |  |  | 16
`R3_G3_B2` | `RGB` | 3 | 3 | 2 |  |  |
`RGB4` | `RGB` | 4 | 4 | 4 |  |  |
`RGB5` | `RGB` | 5 | 5 | 5 |  |  |
`RGB8` | `RGB` | 8 | 8 | 8 |  |  |
`RGB10` | `RGB` | 10 | 10 | 10 |  |  |
`RGB12` | `RGB` | 12 | 12 | 12 |  |  |
`RGB16` | `RGB` | 16 | 16 | 16 |  |  |
`RGBA2` | `RGBA` | 2 | 2 | 2 | 2 |  |
`RGBA4` | `RGBA` | 4 | 4 | 4 | 4 |  |
`RGB5_A1` | `RGBA` | 5 | 5 | 5 | 1 |  |
`RGBA8` | `RGBA` | 8 | 8 | 8 | 8 |  |
`RGB10_A2` | `RGBA` | 10 | 10 | 10 | 2 |  |
`RGBA12` | `RGBA` | 12 | 12 | 12 | 12 |  |
`RGBA16` | `RGBA` | 16 | 16 | 16 | 16 |  |