Skip to content

Surface formats

Based on this.

NameDescription
r8g8b832-bit ARGB pixel format with alpha, using 8 bits per channel.
a8r8g8b832-bit ARGB pixel format with alpha, using 8 bits per channel.
x8r8g8b832-bit RGB pixel format, where 8 bits are reserved for each color.
r5g6b516-bit RGB pixel format with 5 bits for red, 6 bits for green, and 5 bits for blue.
x1r5g5b516-bit pixel format where 5 bits are reserved for each color.
a1r5g5b516-bit pixel format where 5 bits are reserved for each color and 1 bit is reserved for alpha.
a4r4g4b416-bit ARGB pixel format with 4 bits for each channel.
r3g3b28-bit RGB texture format using 3 bits for red, 3 bits for green, and 2 bits for blue.
a88-bit alpha only.
a8r3g3b216-bit ARGB texture format using 8 bits for alpha, 3 bits each for red and green, and 2 bits for blue.
x4r4g4b416-bit RGB pixel format using 4 bits for each color.
a2b10g10r1032-bit pixel format using 10 bits for each color and 2 bits for alpha.
a8b8g8r832-bit ARGB pixel format with alpha, using 8 bits per channel.
x8b8g8r832-bit RGB pixel format, where 8 bits are reserved for each color.
g16r1632-bit pixel format using 16 bits each for green and red.
a2r10g10b1032-bit pixel format using 10 bits each for red, green, and blue, and 2 bits for alpha.
a16b16g16r1664-bit pixel format using 16 bits for each component.
a8p88-bit color indexed with 8 bits of alpha.
p88-bit color indexed.
l88-bit luminance only.
l1616-bit luminance only.
a8l816-bit using 8 bits each for alpha and luminance.
r8g8b824-bit RGB pixel format with 8 bits per channel.
a4l48-bit using 4 bits each for alpha and luminance.
r16f16-bit float format using 16 bits for the red channel.
g16r16f32-bit float format using 16 bits for the red channel and 16 bits for the green channel.
a16b16g16r16f64-bit float format using 16 bits for the each channel (alpha, blue, green, red).
r32f32-bit float format using 32 bits for the red channel.
g32r32f64-bit float format using 32 bits for the red channel and 32 bits for the green channel.
a32b32g32r32f128-bit float format using 32 bits for the each channel (alpha, blue, green, red).