GL_BGRA,GL_UNSIGNED_SHORT_5_5_5_1

back to index

Details

Family
OpenGL
Color model
RGBSDA
Color primaries
unspecified
Transfer function
linear

Memory layout

Little-endian

0 1
G1 G0 R4 R3 R2 R1 R0 A0 B4 B3 B2 B1 B0 G4 G3 G2

Big-endian

0 1
B4 B3 B2 B1 B0 G4 G3 G2 G1 G0 R4 R3 R2 R1 R0 A0

Compatible formats

Both little-endian and big-endian

Little-endian