1
0
Fork 0

include/Spectre/Graphics/PixelFormat.h: Define 32BRG and 32BRGA formats.

This commit is contained in:
Henrik Hautakoski 2020-10-22 13:07:40 +02:00
parent f7fcc2633c
commit 4f04a8e7c9

View file

@ -8,7 +8,9 @@ enum PixelFormat
PF_Unknown = 0,
PF_RGB = 1,
PF_RGBA = 2,
PF_Alpha = 3, // 1 byte alpha channel.
PF_32BGR = 3, // 32 bits per pixel, 8 bits are used for blue, green, red. Last 8 bits are unused.
PF_32BGRA = 4, // 32 bits per pixel, 8 bits are used for blue, green, red, alpha.
PF_Alpha = 5, // 8 bit alpha channel.
};
} // namespace